/* * ProxMox VE API * * ProxMox VE API * * The version of the OpenAPI document: 2.0 * Contact: support@lumaserv.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; using ProxmoxSharp.Client; using ProxmoxSharp.Model; namespace ProxmoxSharp.Api { /// /// Represents a collection of functions to interact with the API endpoints /// public interface IProxmoxGeneratedApiSync : IApiAccessor { #region Synchronous Operations /// /// addClusterFirewallGroupRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response AddClusterFirewallGroupRule(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0); /// /// addClusterFirewallGroupRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse AddClusterFirewallGroupRuleWithHttpInfo(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0); /// /// addClusterFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response AddClusterFirewallIPSetIP(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0); /// /// addClusterFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse AddClusterFirewallIPSetIPWithHttpInfo(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0); /// /// addClusterFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response AddClusterFirewallRule(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0); /// /// addClusterFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse AddClusterFirewallRuleWithHttpInfo(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0); /// /// addVMFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response AddVMFirewallIPSetIP(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0); /// /// addVMFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse AddVMFirewallIPSetIPWithHttpInfo(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0); /// /// cloneVM /// /// /// Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CloneVM(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0); /// /// cloneVM /// /// /// Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CloneVMWithHttpInfo(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0); /// /// createAccessDomains /// /// /// Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateAccessDomains(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0); /// /// createAccessDomains /// /// /// Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateAccessDomainsWithHttpInfo(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0); /// /// createAccessDomainsSingleSync /// /// /// Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// CreateAccessDomainsSingleSync200Response CreateAccessDomainsSingleSync200Response CreateAccessDomainsSingleSync(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0); /// /// createAccessDomainsSingleSync /// /// /// Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessDomainsSingleSync200Response ApiResponse CreateAccessDomainsSingleSyncWithHttpInfo(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0); /// /// createAccessGroups /// /// /// Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateAccessGroups(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0); /// /// createAccessGroups /// /// /// Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateAccessGroupsWithHttpInfo(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0); /// /// createAccessOpenidAuthurl /// /// /// Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateAccessOpenidAuthurl200Response CreateAccessOpenidAuthurl200Response CreateAccessOpenidAuthurl(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0); /// /// createAccessOpenidAuthurl /// /// /// Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessOpenidAuthurl200Response ApiResponse CreateAccessOpenidAuthurlWithHttpInfo(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0); /// /// createAccessOpenidLogin /// /// /// Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateAccessOpenidLogin(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0); /// /// createAccessOpenidLogin /// /// /// Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateAccessOpenidLoginWithHttpInfo(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0); /// /// createAccessRoles /// /// /// Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateAccessRoles(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0); /// /// createAccessRoles /// /// /// Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateAccessRolesWithHttpInfo(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0); /// /// createAccessTfaSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// CreateAccessTfaSingle200Response CreateAccessTfaSingle200Response CreateAccessTfaSingle(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0); /// /// createAccessTfaSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessTfaSingle200Response ApiResponse CreateAccessTfaSingleWithHttpInfo(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0); /// /// createAccessTicket /// /// /// Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateAccessTicket200Response CreateAccessTicket200Response CreateAccessTicket(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0); /// /// createAccessTicket /// /// /// Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessTicket200Response ApiResponse CreateAccessTicketWithHttpInfo(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0); /// /// createAccessUsers /// /// /// Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateAccessUsers(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0); /// /// createAccessUsers /// /// /// Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateAccessUsersWithHttpInfo(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0); /// /// createAccessUsersSingleTokenSingle /// /// /// Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// CreateAccessUsersSingleTokenSingle200Response CreateAccessUsersSingleTokenSingle200Response CreateAccessUsersSingleTokenSingle(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0); /// /// createAccessUsersSingleTokenSingle /// /// /// Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessUsersSingleTokenSingle200Response ApiResponse CreateAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0); /// /// createAccessVncticket /// /// /// verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateAccessVncticket(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0); /// /// createAccessVncticket /// /// /// verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateAccessVncticketWithHttpInfo(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0); /// /// createClusterAcmeAccount /// /// /// Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterAcmeAccount(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0); /// /// createClusterAcmeAccount /// /// /// Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterAcmeAccountWithHttpInfo(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0); /// /// createClusterAcmePlugins /// /// /// Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterAcmePlugins(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0); /// /// createClusterAcmePlugins /// /// /// Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterAcmePluginsWithHttpInfo(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0); /// /// createClusterBackup /// /// /// Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterBackup(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0); /// /// createClusterBackup /// /// /// Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterBackupWithHttpInfo(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestMigrate /// /// /// Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestMigrate(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestMigrate /// /// /// Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response ApiResponse CreateClusterBulkactionGuestMigrateWithHttpInfo(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestShutdown /// /// /// Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestShutdown(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestShutdown /// /// /// Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response ApiResponse CreateClusterBulkactionGuestShutdownWithHttpInfo(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestStart /// /// /// Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestStart(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestStart /// /// /// Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response ApiResponse CreateClusterBulkactionGuestStartWithHttpInfo(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestSuspend /// /// /// Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestSuspend(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0); /// /// createClusterBulkactionGuestSuspend /// /// /// Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response ApiResponse CreateClusterBulkactionGuestSuspendWithHttpInfo(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0); /// /// createClusterConfig /// /// /// Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterConfig(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0); /// /// createClusterConfig /// /// /// Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterConfigWithHttpInfo(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0); /// /// createClusterConfigJoin /// /// /// Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterConfigJoin(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0); /// /// createClusterConfigJoin /// /// /// Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterConfigJoinWithHttpInfo(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0); /// /// createClusterConfigNodesSingle /// /// /// Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterConfigNodesSingle200Response CreateClusterConfigNodesSingle200Response CreateClusterConfigNodesSingle(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0); /// /// createClusterConfigNodesSingle /// /// /// Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterConfigNodesSingle200Response ApiResponse CreateClusterConfigNodesSingleWithHttpInfo(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0); /// /// createClusterFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterFirewallAliases(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0); /// /// createClusterFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterFirewallAliasesWithHttpInfo(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0); /// /// createClusterFirewallGroup /// /// /// Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterFirewallGroup(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0); /// /// createClusterFirewallGroup /// /// /// Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterFirewallGroupWithHttpInfo(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0); /// /// createClusterFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterFirewallIPSet(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0); /// /// createClusterFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterFirewallIPSetWithHttpInfo(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0); /// /// createClusterHaGroups /// /// /// Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterHaGroups(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0); /// /// createClusterHaGroups /// /// /// Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterHaGroupsWithHttpInfo(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0); /// /// createClusterHaResources /// /// /// Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterHaResources(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0); /// /// createClusterHaResources /// /// /// Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterHaResourcesWithHttpInfo(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0); /// /// createClusterHaResourcesSingleMigrate /// /// /// Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// CreateClusterHaResourcesSingleMigrate200Response CreateClusterHaResourcesSingleMigrate200Response CreateClusterHaResourcesSingleMigrate(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0); /// /// createClusterHaResourcesSingleMigrate /// /// /// Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterHaResourcesSingleMigrate200Response ApiResponse CreateClusterHaResourcesSingleMigrateWithHttpInfo(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0); /// /// createClusterHaResourcesSingleRelocate /// /// /// Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// CreateClusterHaResourcesSingleRelocate200Response CreateClusterHaResourcesSingleRelocate200Response CreateClusterHaResourcesSingleRelocate(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0); /// /// createClusterHaResourcesSingleRelocate /// /// /// Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterHaResourcesSingleRelocate200Response ApiResponse CreateClusterHaResourcesSingleRelocateWithHttpInfo(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0); /// /// createClusterHaRules /// /// /// Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterHaRules(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0); /// /// createClusterHaRules /// /// /// Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterHaRulesWithHttpInfo(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0); /// /// createClusterJobsRealmsyncSingle /// /// /// Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterJobsRealmsyncSingle(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0); /// /// createClusterJobsRealmsyncSingle /// /// /// Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterJobsRealmsyncSingleWithHttpInfo(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0); /// /// createClusterMappingDir /// /// /// Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterMappingDir(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0); /// /// createClusterMappingDir /// /// /// Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterMappingDirWithHttpInfo(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0); /// /// createClusterMappingPci /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterMappingPci(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0); /// /// createClusterMappingPci /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterMappingPciWithHttpInfo(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0); /// /// createClusterMappingUsb /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterMappingUsb(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0); /// /// createClusterMappingUsb /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterMappingUsbWithHttpInfo(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0); /// /// createClusterMetricsServerSingle /// /// /// Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterMetricsServerSingle(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0); /// /// createClusterMetricsServerSingle /// /// /// Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterMetricsServerSingleWithHttpInfo(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsGotify /// /// /// Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterNotificationsEndpointsGotify(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsGotify /// /// /// Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterNotificationsEndpointsGotifyWithHttpInfo(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsSendmail /// /// /// Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterNotificationsEndpointsSendmail(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsSendmail /// /// /// Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterNotificationsEndpointsSendmailWithHttpInfo(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsSmtp /// /// /// Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterNotificationsEndpointsSmtp(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsSmtp /// /// /// Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterNotificationsEndpointsSmtpWithHttpInfo(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsWebhook /// /// /// Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterNotificationsEndpointsWebhook(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0); /// /// createClusterNotificationsEndpointsWebhook /// /// /// Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterNotificationsEndpointsWebhookWithHttpInfo(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0); /// /// createClusterNotificationsMatchers /// /// /// Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterNotificationsMatchers(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0); /// /// createClusterNotificationsMatchers /// /// /// Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterNotificationsMatchersWithHttpInfo(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0); /// /// createClusterNotificationsTargetsSingleTest /// /// /// Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterNotificationsTargetsSingleTest(string name, Object? body = default(Object?), int operationIndex = 0); /// /// createClusterNotificationsTargetsSingleTest /// /// /// Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterNotificationsTargetsSingleTestWithHttpInfo(string name, Object? body = default(Object?), int operationIndex = 0); /// /// createClusterReplication /// /// /// Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterReplication(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0); /// /// createClusterReplication /// /// /// Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterReplicationWithHttpInfo(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0); /// /// createClusterSDNController /// /// /// Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSDNController(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0); /// /// createClusterSDNController /// /// /// Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSDNControllerWithHttpInfo(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0); /// /// createClusterSDNVnet /// /// /// Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSDNVnet(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0); /// /// createClusterSDNVnet /// /// /// Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSDNVnetWithHttpInfo(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0); /// /// createClusterSDNZone /// /// /// Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSDNZone(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0); /// /// createClusterSDNZone /// /// /// Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSDNZoneWithHttpInfo(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0); /// /// createClusterSdnDns /// /// /// Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnDns(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0); /// /// createClusterSdnDns /// /// /// Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnDnsWithHttpInfo(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0); /// /// createClusterSdnFabricsFabric /// /// /// Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnFabricsFabric(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0); /// /// createClusterSdnFabricsFabric /// /// /// Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnFabricsFabricWithHttpInfo(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0); /// /// createClusterSdnFabricsNodeSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnFabricsNodeSingle(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0); /// /// createClusterSdnFabricsNodeSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnFabricsNodeSingleWithHttpInfo(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0); /// /// createClusterSdnIpams /// /// /// Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnIpams(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0); /// /// createClusterSdnIpams /// /// /// Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnIpamsWithHttpInfo(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0); /// /// createClusterSdnLock /// /// /// Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnLock(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0); /// /// createClusterSdnLock /// /// /// Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnLockWithHttpInfo(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0); /// /// createClusterSdnRollback /// /// /// Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnRollback(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0); /// /// createClusterSdnRollback /// /// /// Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnRollbackWithHttpInfo(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0); /// /// createClusterSdnVnetsSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnVnetsSingleFirewallRules(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0); /// /// createClusterSdnVnetsSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnVnetsSingleFirewallRulesWithHttpInfo(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0); /// /// createClusterSdnVnetsSingleIps /// /// /// Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnVnetsSingleIps(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0); /// /// createClusterSdnVnetsSingleIps /// /// /// Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnVnetsSingleIpsWithHttpInfo(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0); /// /// createClusterSdnVnetsSingleSubnets /// /// /// Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateClusterSdnVnetsSingleSubnets(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0); /// /// createClusterSdnVnetsSingleSubnets /// /// /// Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateClusterSdnVnetsSingleSubnetsWithHttpInfo(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0); /// /// createNodeFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodeFirewallRule(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0); /// /// createNodeFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodeFirewallRuleWithHttpInfo(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0); /// /// createNodesSingleAplinfo /// /// /// Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleAplinfo(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0); /// /// createNodesSingleAplinfo /// /// /// Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleAplinfoWithHttpInfo(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0); /// /// createNodesSingleAptRepositories /// /// /// Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleAptRepositories(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0); /// /// createNodesSingleAptRepositories /// /// /// Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleAptRepositoriesWithHttpInfo(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0); /// /// createNodesSingleAptUpdate /// /// /// This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleAptUpdate(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0); /// /// createNodesSingleAptUpdate /// /// /// This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleAptUpdateWithHttpInfo(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0); /// /// createNodesSingleCephFsSingle /// /// /// Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephFsSingle(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0); /// /// createNodesSingleCephFsSingle /// /// /// Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephFsSingleWithHttpInfo(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0); /// /// createNodesSingleCephInit /// /// /// Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephInit(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0); /// /// createNodesSingleCephInit /// /// /// Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephInitWithHttpInfo(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0); /// /// createNodesSingleCephMdsSingle /// /// /// Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephMdsSingle(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0); /// /// createNodesSingleCephMdsSingle /// /// /// Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephMdsSingleWithHttpInfo(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0); /// /// createNodesSingleCephMgrSingle /// /// /// Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephMgrSingle(string id, string node, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleCephMgrSingle /// /// /// Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephMgrSingleWithHttpInfo(string id, string node, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleCephMonSingle /// /// /// Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephMonSingle(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0); /// /// createNodesSingleCephMonSingle /// /// /// Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephMonSingleWithHttpInfo(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0); /// /// createNodesSingleCephOsd /// /// /// Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephOsd(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0); /// /// createNodesSingleCephOsd /// /// /// Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephOsdWithHttpInfo(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0); /// /// createNodesSingleCephOsdSingleIn /// /// /// ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephOsdSingleIn(string node, int osdid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleCephOsdSingleIn /// /// /// ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephOsdSingleInWithHttpInfo(string node, int osdid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleCephOsdSingleOut /// /// /// ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephOsdSingleOut(string node, int osdid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleCephOsdSingleOut /// /// /// ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephOsdSingleOutWithHttpInfo(string node, int osdid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleCephOsdSingleScrub /// /// /// Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephOsdSingleScrub(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0); /// /// createNodesSingleCephOsdSingleScrub /// /// /// Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephOsdSingleScrubWithHttpInfo(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0); /// /// createNodesSingleCephPool /// /// /// Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephPool(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0); /// /// createNodesSingleCephPool /// /// /// Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephPoolWithHttpInfo(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0); /// /// createNodesSingleCephRestart /// /// /// Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephRestart(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0); /// /// createNodesSingleCephRestart /// /// /// Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephRestartWithHttpInfo(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0); /// /// createNodesSingleCephStart /// /// /// Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephStart(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0); /// /// createNodesSingleCephStart /// /// /// Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephStartWithHttpInfo(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0); /// /// createNodesSingleCephStop /// /// /// Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCephStop(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0); /// /// createNodesSingleCephStop /// /// /// Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCephStopWithHttpInfo(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0); /// /// createNodesSingleCertificatesAcmeCertificate /// /// /// Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleCertificatesAcmeCertificate(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0); /// /// createNodesSingleCertificatesAcmeCertificate /// /// /// Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleCertificatesAcmeCertificateWithHttpInfo(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0); /// /// createNodesSingleCertificatesCustom /// /// /// Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateNodesSingleCertificatesCustom200Response CreateNodesSingleCertificatesCustom200Response CreateNodesSingleCertificatesCustom(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0); /// /// createNodesSingleCertificatesCustom /// /// /// Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleCertificatesCustom200Response ApiResponse CreateNodesSingleCertificatesCustomWithHttpInfo(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0); /// /// createNodesSingleDisksDirectory /// /// /// Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleDisksDirectory(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0); /// /// createNodesSingleDisksDirectory /// /// /// Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleDisksDirectoryWithHttpInfo(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0); /// /// createNodesSingleDisksInitgpt /// /// /// Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleDisksInitgpt(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0); /// /// createNodesSingleDisksInitgpt /// /// /// Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleDisksInitgptWithHttpInfo(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0); /// /// createNodesSingleDisksLvm /// /// /// Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleDisksLvm(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0); /// /// createNodesSingleDisksLvm /// /// /// Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleDisksLvmWithHttpInfo(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0); /// /// createNodesSingleDisksLvmthin /// /// /// Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleDisksLvmthin(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0); /// /// createNodesSingleDisksLvmthin /// /// /// Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleDisksLvmthinWithHttpInfo(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0); /// /// createNodesSingleDisksZfs /// /// /// Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleDisksZfs(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0); /// /// createNodesSingleDisksZfs /// /// /// Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleDisksZfsWithHttpInfo(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0); /// /// createNodesSingleExecute /// /// /// Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// GetCluster200Response GetCluster200Response CreateNodesSingleExecute(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0); /// /// createNodesSingleExecute /// /// /// Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse CreateNodesSingleExecuteWithHttpInfo(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0); /// /// createNodesSingleHosts /// /// /// Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleHosts(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0); /// /// createNodesSingleHosts /// /// /// Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleHostsWithHttpInfo(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0); /// /// createNodesSingleLxc /// /// /// Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxc(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0); /// /// createNodesSingleLxc /// /// /// Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcWithHttpInfo(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleClone /// /// /// Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleClone(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleClone /// /// /// Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleCloneWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallAliases(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleFirewallAliasesWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallIpset /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallIpset(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallIpset /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleFirewallIpsetWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallIpsetSingle(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallRules(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleFirewallRulesWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleMigrate /// /// /// Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleMigrate(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleMigrate /// /// /// Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleLxcSingleMigrateWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleMovevolume /// /// /// Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleMovevolume(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleMovevolume /// /// /// Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleMovevolumeWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleMtunnel(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleMtunnelWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleRemotemigrate /// /// /// Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleRemotemigrate(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleRemotemigrate /// /// /// Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleLxcSingleRemotemigrateWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleSnapshot /// /// /// Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleSnapshot(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleSnapshot /// /// /// Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleLxcSingleSnapshotWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleSnapshotSingleRollback /// /// /// Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleSnapshotSingleRollback(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleSnapshotSingleRollback /// /// /// Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleLxcSingleSnapshotSingleRollbackWithHttpInfo(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleLxcSingleSpiceproxy(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleSpiceproxy200Response ApiResponse CreateNodesSingleLxcSingleSpiceproxyWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusReboot /// /// /// Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusReboot(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusReboot /// /// /// Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleStatusRebootWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusResume /// /// /// Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusResume(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusResume /// /// /// Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleStatusResumeWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusShutdown /// /// /// Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusShutdown(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusShutdown /// /// /// Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleStatusShutdownWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusStart /// /// /// Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusStart(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusStart /// /// /// Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleStatusStartWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusStop /// /// /// Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusStop(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusStop /// /// /// Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleStatusStopWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusSuspend /// /// /// Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusSuspend(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleStatusSuspend /// /// /// Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleStatusSuspendWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleTemplate(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleTemplateWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleTermproxy /// /// /// Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleTermproxy(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleTermproxy /// /// /// Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleTermproxyWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleLxcSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleLxcSingleVncproxy(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0); /// /// createNodesSingleLxcSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleLxcSingleVncproxyWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0); /// /// createNodesSingleMigrateall /// /// /// Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleMigrateall(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0); /// /// createNodesSingleMigrateall /// /// /// Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleMigrateallWithHttpInfo(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0); /// /// createNodesSingleNetwork /// /// /// Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleNetwork(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0); /// /// createNodesSingleNetwork /// /// /// Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleNetworkWithHttpInfo(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgent /// /// /// Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgent /// /// /// Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentExec /// /// /// Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgentExec200Response CreateNodesSingleQemuSingleAgentExec200Response CreateNodesSingleQemuSingleAgentExec(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentExec /// /// /// Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgentExec200Response ApiResponse CreateNodesSingleQemuSingleAgentExecWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFilewrite /// /// /// Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleAgentFilewrite(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFilewrite /// /// /// Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleAgentFilewriteWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFsfreezefreeze /// /// /// Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFsfreezefreeze(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFsfreezefreeze /// /// /// Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentFsfreezefreezeWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFsfreezestatus /// /// /// Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFsfreezestatus(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFsfreezestatus /// /// /// Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentFsfreezestatusWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFsfreezethaw /// /// /// Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFsfreezethaw(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFsfreezethaw /// /// /// Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentFsfreezethawWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFstrim /// /// /// Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFstrim(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentFstrim /// /// /// Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentFstrimWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentPing /// /// /// Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentPing(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentPing /// /// /// Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentPingWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSetuserpassword /// /// /// Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSetuserpassword(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSetuserpassword /// /// /// Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentSetuserpasswordWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentShutdown /// /// /// Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentShutdown(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentShutdown /// /// /// Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentShutdownWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSuspenddisk /// /// /// Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSuspenddisk(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSuspenddisk /// /// /// Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentSuspenddiskWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSuspendhybrid /// /// /// Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSuspendhybrid(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSuspendhybrid /// /// /// Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentSuspendhybridWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSuspendram /// /// /// Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSuspendram(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleAgentSuspendram /// /// /// Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse CreateNodesSingleQemuSingleAgentSuspendramWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleQemuSingleDbusvmstate /// /// /// Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleDbusvmstate(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleDbusvmstate /// /// /// Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleDbusvmstateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleFirewallAliases(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleFirewallAliasesWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMigrate /// /// /// Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMigrate(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMigrate /// /// /// Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleQemuSingleMigrateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMonitor /// /// /// Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleMonitor(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMonitor /// /// /// Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleMonitorWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMovedisk /// /// /// Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMovedisk /// /// /// Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleQemuSingleMovediskWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleMtunnel(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleMtunnelWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleRemotemigrate /// /// /// Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleRemotemigrate(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleRemotemigrate /// /// /// Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleQemuSingleRemotemigrateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleQemuSingleSpiceproxy(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleSpiceproxy200Response ApiResponse CreateNodesSingleQemuSingleSpiceproxyWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleTemplate(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateNodesSingleQemuSingleTemplateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleTermproxy /// /// /// Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleTermproxy(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleTermproxy /// /// /// Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleTermproxyWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleQemuSingleVncproxy(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0); /// /// createNodesSingleQemuSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleQemuSingleVncproxyWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0); /// /// createNodesSingleReplicationSingleSchedulenow /// /// /// Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleReplicationSingleSchedulenow(string id, string node, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleReplicationSingleSchedulenow /// /// /// Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleReplicationSingleSchedulenowWithHttpInfo(string id, string node, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleReload /// /// /// Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleServicesSingleReload(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleReload /// /// /// Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleServicesSingleReloadWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleRestart /// /// /// Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleServicesSingleRestart(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleRestart /// /// /// Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleServicesSingleRestartWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleStart /// /// /// Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleServicesSingleStart(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleStart /// /// /// Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleServicesSingleStartWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleStop /// /// /// Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleServicesSingleStop(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleServicesSingleStop /// /// /// Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleServicesSingleStopWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleSpiceshell /// /// /// Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleSpiceshell(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0); /// /// createNodesSingleSpiceshell /// /// /// Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleSpiceproxy200Response ApiResponse CreateNodesSingleSpiceshellWithHttpInfo(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0); /// /// createNodesSingleStartall /// /// /// Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStartall(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0); /// /// createNodesSingleStartall /// /// /// Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStartallWithHttpInfo(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0); /// /// createNodesSingleStatus /// /// /// Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStatus(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0); /// /// createNodesSingleStatus /// /// /// Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStatusWithHttpInfo(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0); /// /// createNodesSingleStopall /// /// /// Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStopall(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0); /// /// createNodesSingleStopall /// /// /// Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStopallWithHttpInfo(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleContent /// /// /// Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateNodesSingleStorageSingleContent200Response CreateNodesSingleStorageSingleContent200Response CreateNodesSingleStorageSingleContent(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleContent /// /// /// Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleStorageSingleContent200Response ApiResponse CreateNodesSingleStorageSingleContentWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleContentSingle /// /// /// Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStorageSingleContentSingle(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleContentSingle /// /// /// Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleDownloadurl /// /// /// Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStorageSingleDownloadurl(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleDownloadurl /// /// /// Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStorageSingleDownloadurlWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleOciregistrypull /// /// /// Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStorageSingleOciregistrypull(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleOciregistrypull /// /// /// Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStorageSingleOciregistrypullWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleUpload /// /// /// Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleStorageSingleUpload(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0); /// /// createNodesSingleStorageSingleUpload /// /// /// Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleStorageSingleUploadWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0); /// /// createNodesSingleSubscription /// /// /// Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleSubscription(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0); /// /// createNodesSingleSubscription /// /// /// Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleSubscriptionWithHttpInfo(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0); /// /// createNodesSingleSuspendall /// /// /// Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleSuspendall(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0); /// /// createNodesSingleSuspendall /// /// /// Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleSuspendallWithHttpInfo(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0); /// /// createNodesSingleTermproxy /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleTermproxy(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0); /// /// createNodesSingleTermproxy /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleTermproxyWithHttpInfo(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0); /// /// createNodesSingleVncshell /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleVncshell(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0); /// /// createNodesSingleVncshell /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleVncshellWithHttpInfo(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0); /// /// createNodesSingleVzdump /// /// /// Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateNodesSingleVzdump(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0); /// /// createNodesSingleVzdump /// /// /// Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateNodesSingleVzdumpWithHttpInfo(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0); /// /// createNodesSingleWakeonlan /// /// /// Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateNodesSingleWakeonlan200Response CreateNodesSingleWakeonlan200Response CreateNodesSingleWakeonlan(string node, Object? body = default(Object?), int operationIndex = 0); /// /// createNodesSingleWakeonlan /// /// /// Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleWakeonlan200Response ApiResponse CreateNodesSingleWakeonlanWithHttpInfo(string node, Object? body = default(Object?), int operationIndex = 0); /// /// createPool /// /// /// Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreatePool(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0); /// /// createPool /// /// /// Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreatePoolWithHttpInfo(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0); /// /// createStorage /// /// /// Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateStorage200Response CreateStorage200Response CreateStorage(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0); /// /// createStorage /// /// /// Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateStorage200Response ApiResponse CreateStorageWithHttpInfo(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0); /// /// createVM /// /// /// Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateVM(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0); /// /// createVM /// /// /// Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateVMWithHttpInfo(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0); /// /// createVMFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateVMFirewallIPSet(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0); /// /// createVMFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateVMFirewallIPSetWithHttpInfo(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0); /// /// createVMFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response CreateVMFirewallRule(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0); /// /// createVMFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse CreateVMFirewallRuleWithHttpInfo(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0); /// /// createVMSnapshot /// /// /// Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response CreateVMSnapshot(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0); /// /// createVMSnapshot /// /// /// Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse CreateVMSnapshotWithHttpInfo(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0); /// /// deleteAccessDomainsSingle /// /// /// Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteAccessDomainsSingle(string realm, int operationIndex = 0); /// /// deleteAccessDomainsSingle /// /// /// Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteAccessDomainsSingleWithHttpInfo(string realm, int operationIndex = 0); /// /// deleteAccessGroupsSingle /// /// /// Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteAccessGroupsSingle(string groupid, int operationIndex = 0); /// /// deleteAccessGroupsSingle /// /// /// Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteAccessGroupsSingleWithHttpInfo(string groupid, int operationIndex = 0); /// /// deleteAccessRolesSingle /// /// /// Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteAccessRolesSingle(string roleid, int operationIndex = 0); /// /// deleteAccessRolesSingle /// /// /// Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteAccessRolesSingleWithHttpInfo(string roleid, int operationIndex = 0); /// /// deleteAccessTfaSingleSingle /// /// /// Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteAccessTfaSingleSingle(string id, string userid, int operationIndex = 0); /// /// deleteAccessTfaSingleSingle /// /// /// Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteAccessTfaSingleSingleWithHttpInfo(string id, string userid, int operationIndex = 0); /// /// deleteAccessUsersSingle /// /// /// Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteAccessUsersSingle(string userid, int operationIndex = 0); /// /// deleteAccessUsersSingle /// /// /// Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteAccessUsersSingleWithHttpInfo(string userid, int operationIndex = 0); /// /// deleteAccessUsersSingleTokenSingle /// /// /// Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteAccessUsersSingleTokenSingle(string tokenid, string userid, int operationIndex = 0); /// /// deleteAccessUsersSingleTokenSingle /// /// /// Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, int operationIndex = 0); /// /// deleteClusterAcmeAccountSingle /// /// /// Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterAcmeAccountSingle(string name, int operationIndex = 0); /// /// deleteClusterAcmeAccountSingle /// /// /// Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterAcmeAccountSingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterAcmePluginsSingle /// /// /// Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterAcmePluginsSingle(string id, int operationIndex = 0); /// /// deleteClusterAcmePluginsSingle /// /// /// Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterAcmePluginsSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterBackupSingle /// /// /// Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterBackupSingle(string id, int operationIndex = 0); /// /// deleteClusterBackupSingle /// /// /// Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterBackupSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterConfigNodesSingle /// /// /// Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterConfigNodesSingle(string node, int operationIndex = 0); /// /// deleteClusterConfigNodesSingle /// /// /// Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterConfigNodesSingleWithHttpInfo(string node, int operationIndex = 0); /// /// deleteClusterFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterFirewallAliasesSingle(string name, int operationIndex = 0); /// /// deleteClusterFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterFirewallAliasesSingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterFirewallGroup /// /// /// Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterFirewallGroup(string group, int operationIndex = 0); /// /// deleteClusterFirewallGroup /// /// /// Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterFirewallGroupWithHttpInfo(string group, int operationIndex = 0); /// /// deleteClusterFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterFirewallIPSet(string name, int operationIndex = 0); /// /// deleteClusterFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterFirewallIPSetWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterHaGroupsSingle /// /// /// Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterHaGroupsSingle(string group, int operationIndex = 0); /// /// deleteClusterHaGroupsSingle /// /// /// Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterHaGroupsSingleWithHttpInfo(string group, int operationIndex = 0); /// /// deleteClusterHaResourcesSingle /// /// /// Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterHaResourcesSingle(string sid, int operationIndex = 0); /// /// deleteClusterHaResourcesSingle /// /// /// Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterHaResourcesSingleWithHttpInfo(string sid, int operationIndex = 0); /// /// deleteClusterHaRulesSingle /// /// /// Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterHaRulesSingle(string rule, int operationIndex = 0); /// /// deleteClusterHaRulesSingle /// /// /// Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterHaRulesSingleWithHttpInfo(string rule, int operationIndex = 0); /// /// deleteClusterJobsRealmsyncSingle /// /// /// Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterJobsRealmsyncSingle(string id, int operationIndex = 0); /// /// deleteClusterJobsRealmsyncSingle /// /// /// Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterJobsRealmsyncSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterMappingDirSingle /// /// /// Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterMappingDirSingle(string id, int operationIndex = 0); /// /// deleteClusterMappingDirSingle /// /// /// Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterMappingDirSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterMappingPciSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterMappingPciSingle(string id, int operationIndex = 0); /// /// deleteClusterMappingPciSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterMappingPciSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterMappingUsbSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterMappingUsbSingle(string id, int operationIndex = 0); /// /// deleteClusterMappingUsbSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterMappingUsbSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterMetricsServerSingle /// /// /// Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterMetricsServerSingle(string id, int operationIndex = 0); /// /// deleteClusterMetricsServerSingle /// /// /// Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterMetricsServerSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsGotifySingle /// /// /// Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterNotificationsEndpointsGotifySingle(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsGotifySingle /// /// /// Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterNotificationsEndpointsGotifySingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsSendmailSingle /// /// /// Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterNotificationsEndpointsSendmailSingle(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsSendmailSingle /// /// /// Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterNotificationsEndpointsSendmailSingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsSmtpSingle /// /// /// Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterNotificationsEndpointsSmtpSingle(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsSmtpSingle /// /// /// Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterNotificationsEndpointsSmtpSingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsWebhookSingle /// /// /// Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterNotificationsEndpointsWebhookSingle(string name, int operationIndex = 0); /// /// deleteClusterNotificationsEndpointsWebhookSingle /// /// /// Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterNotificationsEndpointsWebhookSingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterNotificationsMatchersSingle /// /// /// Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterNotificationsMatchersSingle(string name, int operationIndex = 0); /// /// deleteClusterNotificationsMatchersSingle /// /// /// Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterNotificationsMatchersSingleWithHttpInfo(string name, int operationIndex = 0); /// /// deleteClusterReplicationSingle /// /// /// Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterReplicationSingle(string id, int operationIndex = 0); /// /// deleteClusterReplicationSingle /// /// /// Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterReplicationSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterSDNController /// /// /// Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSDNController(string controller, int operationIndex = 0); /// /// deleteClusterSDNController /// /// /// Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSDNControllerWithHttpInfo(string controller, int operationIndex = 0); /// /// deleteClusterSDNVnet /// /// /// Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSDNVnet(string vnet, int operationIndex = 0); /// /// deleteClusterSDNVnet /// /// /// Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSDNVnetWithHttpInfo(string vnet, int operationIndex = 0); /// /// deleteClusterSDNZone /// /// /// Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSDNZone(string zone, int operationIndex = 0); /// /// deleteClusterSDNZone /// /// /// Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSDNZoneWithHttpInfo(string zone, int operationIndex = 0); /// /// deleteClusterSdnDnsSingle /// /// /// Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnDnsSingle(string dns, int operationIndex = 0); /// /// deleteClusterSdnDnsSingle /// /// /// Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnDnsSingleWithHttpInfo(string dns, int operationIndex = 0); /// /// deleteClusterSdnFabricsFabricSingle /// /// /// Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnFabricsFabricSingle(string id, int operationIndex = 0); /// /// deleteClusterSdnFabricsFabricSingle /// /// /// Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnFabricsFabricSingleWithHttpInfo(string id, int operationIndex = 0); /// /// deleteClusterSdnFabricsNodeSingleSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnFabricsNodeSingleSingle(string fabricId, string nodeId, int operationIndex = 0); /// /// deleteClusterSdnFabricsNodeSingleSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnFabricsNodeSingleSingleWithHttpInfo(string fabricId, string nodeId, int operationIndex = 0); /// /// deleteClusterSdnIpamsSingle /// /// /// Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnIpamsSingle(string ipam, int operationIndex = 0); /// /// deleteClusterSdnIpamsSingle /// /// /// Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnIpamsSingleWithHttpInfo(string ipam, int operationIndex = 0); /// /// deleteClusterSdnLock /// /// /// Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnLock(int operationIndex = 0); /// /// deleteClusterSdnLock /// /// /// Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnLockWithHttpInfo(int operationIndex = 0); /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnVnetsSingleFirewallRulesSingle(int pos, string vnet, int operationIndex = 0); /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(int pos, string vnet, int operationIndex = 0); /// /// deleteClusterSdnVnetsSingleIps /// /// /// Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnVnetsSingleIps(string vnet, int operationIndex = 0); /// /// deleteClusterSdnVnetsSingleIps /// /// /// Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnVnetsSingleIpsWithHttpInfo(string vnet, int operationIndex = 0); /// /// deleteClusterSdnVnetsSingleSubnetsSingle /// /// /// Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteClusterSdnVnetsSingleSubnetsSingle(string subnet, string vnet, int operationIndex = 0); /// /// deleteClusterSdnVnetsSingleSubnetsSingle /// /// /// Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(string subnet, string vnet, int operationIndex = 0); /// /// deleteNodeFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodeFirewallRule(string node, int pos, int operationIndex = 0); /// /// deleteNodeFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodeFirewallRuleWithHttpInfo(string node, int pos, int operationIndex = 0); /// /// deleteNodesSingleCephMdsSingle /// /// /// Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCephMdsSingle(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleCephMdsSingle /// /// /// Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCephMdsSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleCephMgrSingle /// /// /// Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCephMgrSingle(string id, string node, int operationIndex = 0); /// /// deleteNodesSingleCephMgrSingle /// /// /// Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCephMgrSingleWithHttpInfo(string id, string node, int operationIndex = 0); /// /// deleteNodesSingleCephMonSingle /// /// /// Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCephMonSingle(string monid, string node, int operationIndex = 0); /// /// deleteNodesSingleCephMonSingle /// /// /// Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCephMonSingleWithHttpInfo(string monid, string node, int operationIndex = 0); /// /// deleteNodesSingleCephOsdSingle /// /// /// Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCephOsdSingle(string node, int osdid, int operationIndex = 0); /// /// deleteNodesSingleCephOsdSingle /// /// /// Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCephOsdSingleWithHttpInfo(string node, int osdid, int operationIndex = 0); /// /// deleteNodesSingleCephPoolSingle /// /// /// Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCephPoolSingle(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleCephPoolSingle /// /// /// Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCephPoolSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleCertificatesAcmeCertificate /// /// /// Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCertificatesAcmeCertificate(string node, int operationIndex = 0); /// /// deleteNodesSingleCertificatesAcmeCertificate /// /// /// Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCertificatesAcmeCertificateWithHttpInfo(string node, int operationIndex = 0); /// /// deleteNodesSingleCertificatesCustom /// /// /// DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleCertificatesCustom(string node, int operationIndex = 0); /// /// deleteNodesSingleCertificatesCustom /// /// /// DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleCertificatesCustomWithHttpInfo(string node, int operationIndex = 0); /// /// deleteNodesSingleDisksDirectorySingle /// /// /// Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleDisksDirectorySingle(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksDirectorySingle /// /// /// Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleDisksDirectorySingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksLvmSingle /// /// /// Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleDisksLvmSingle(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksLvmSingle /// /// /// Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleDisksLvmSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksLvmthinSingle /// /// /// Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleDisksLvmthinSingle(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksLvmthinSingle /// /// /// Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleDisksLvmthinSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksZfsSingle /// /// /// Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleDisksZfsSingle(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleDisksZfsSingle /// /// /// Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleDisksZfsSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// deleteNodesSingleLxcSingle /// /// /// Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleLxcSingle(string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingle /// /// /// Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleLxcSingleWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallIpsetSingle(string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallRulesSingle(string node, int pos, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleSnapshotSingle /// /// /// Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response DeleteNodesSingleLxcSingleSnapshotSingle(string node, string snapname, int vmid, int operationIndex = 0); /// /// deleteNodesSingleLxcSingleSnapshotSingle /// /// /// Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse DeleteNodesSingleLxcSingleSnapshotSingleWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0); /// /// deleteNodesSingleNetwork /// /// /// Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleNetwork(string node, int operationIndex = 0); /// /// deleteNodesSingleNetwork /// /// /// Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleNetworkWithHttpInfo(string node, int operationIndex = 0); /// /// deleteNodesSingleNetworkSingle /// /// /// Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleNetworkSingle(string iface, string node, int operationIndex = 0); /// /// deleteNodesSingleNetworkSingle /// /// /// Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleNetworkSingleWithHttpInfo(string iface, string node, int operationIndex = 0); /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleQemuSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// deleteNodesSingleStorageSingleContentSingle /// /// /// Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleStorageSingleContentSingle(string node, string storage, string volume, int operationIndex = 0); /// /// deleteNodesSingleStorageSingleContentSingle /// /// /// Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, int operationIndex = 0); /// /// deleteNodesSingleStorageSinglePrunebackups /// /// /// Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleStorageSinglePrunebackups(string node, string storage, int operationIndex = 0); /// /// deleteNodesSingleStorageSinglePrunebackups /// /// /// Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleStorageSinglePrunebackupsWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// deleteNodesSingleSubscription /// /// /// Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteNodesSingleSubscription(string node, int operationIndex = 0); /// /// deleteNodesSingleSubscription /// /// /// Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteNodesSingleSubscriptionWithHttpInfo(string node, int operationIndex = 0); /// /// deletePool /// /// /// Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeletePool(string poolid, int operationIndex = 0); /// /// deletePool /// /// /// Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeletePoolWithHttpInfo(string poolid, int operationIndex = 0); /// /// deletePools /// /// /// Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeletePools(int operationIndex = 0); /// /// deletePools /// /// /// Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeletePoolsWithHttpInfo(int operationIndex = 0); /// /// deleteStorageSingle /// /// /// Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteStorageSingle(string storage, int operationIndex = 0); /// /// deleteStorageSingle /// /// /// Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteStorageSingleWithHttpInfo(string storage, int operationIndex = 0); /// /// deleteVM /// /// /// Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteVM(string node, int vmid, int operationIndex = 0); /// /// deleteVM /// /// /// Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteVMWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// deleteVMFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteVMFirewallIPSet(string name, string node, int vmid, int operationIndex = 0); /// /// deleteVMFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteVMFirewallIPSetWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// deleteVMFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response DeleteVMFirewallRule(string node, int pos, int vmid, int operationIndex = 0); /// /// deleteVMFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse DeleteVMFirewallRuleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0); /// /// deleteVMSnapshot /// /// /// Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response DeleteVMSnapshot(string node, string snapname, int vmid, int operationIndex = 0); /// /// deleteVMSnapshot /// /// /// Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse DeleteVMSnapshotWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0); /// /// getAccess /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetAccess(int operationIndex = 0); /// /// getAccess /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetAccessWithHttpInfo(int operationIndex = 0); /// /// getAccessAcl /// /// /// Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessAcl200Response GetAccessAcl200Response GetAccessAcl(int operationIndex = 0); /// /// getAccessAcl /// /// /// Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessAcl200Response ApiResponse GetAccessAclWithHttpInfo(int operationIndex = 0); /// /// getAccessDomains /// /// /// Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessDomains200Response GetAccessDomains200Response GetAccessDomains(int operationIndex = 0); /// /// getAccessDomains /// /// /// Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessDomains200Response ApiResponse GetAccessDomainsWithHttpInfo(int operationIndex = 0); /// /// getAccessDomainsSingle /// /// /// Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetAccessDomainsSingle(string realm, int operationIndex = 0); /// /// getAccessDomainsSingle /// /// /// Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetAccessDomainsSingleWithHttpInfo(string realm, int operationIndex = 0); /// /// getAccessGroups /// /// /// Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessGroups200Response GetAccessGroups200Response GetAccessGroups(int operationIndex = 0); /// /// getAccessGroups /// /// /// Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessGroups200Response ApiResponse GetAccessGroupsWithHttpInfo(int operationIndex = 0); /// /// getAccessGroupsSingle /// /// /// Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// GetAccessGroupsSingle200Response GetAccessGroupsSingle200Response GetAccessGroupsSingle(string groupid, int operationIndex = 0); /// /// getAccessGroupsSingle /// /// /// Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// ApiResponse of GetAccessGroupsSingle200Response ApiResponse GetAccessGroupsSingleWithHttpInfo(string groupid, int operationIndex = 0); /// /// getAccessOpenid /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetAccessOpenid(int operationIndex = 0); /// /// getAccessOpenid /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetAccessOpenidWithHttpInfo(int operationIndex = 0); /// /// getAccessPermissions /// /// /// Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessPermissions200Response GetAccessPermissions200Response GetAccessPermissions(int operationIndex = 0); /// /// getAccessPermissions /// /// /// Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessPermissions200Response ApiResponse GetAccessPermissionsWithHttpInfo(int operationIndex = 0); /// /// getAccessRoles /// /// /// Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessRoles200Response GetAccessRoles200Response GetAccessRoles(int operationIndex = 0); /// /// getAccessRoles /// /// /// Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessRoles200Response ApiResponse GetAccessRolesWithHttpInfo(int operationIndex = 0); /// /// getAccessRolesSingle /// /// /// Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// GetAccessRolesSingle200Response GetAccessRolesSingle200Response GetAccessRolesSingle(string roleid, int operationIndex = 0); /// /// getAccessRolesSingle /// /// /// Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// ApiResponse of GetAccessRolesSingle200Response ApiResponse GetAccessRolesSingleWithHttpInfo(string roleid, int operationIndex = 0); /// /// getAccessTfa /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessTfa200Response GetAccessTfa200Response GetAccessTfa(int operationIndex = 0); /// /// getAccessTfa /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessTfa200Response ApiResponse GetAccessTfaWithHttpInfo(int operationIndex = 0); /// /// getAccessTfaSingle /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessTfaSingle200Response GetAccessTfaSingle200Response GetAccessTfaSingle(string userid, int operationIndex = 0); /// /// getAccessTfaSingle /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessTfaSingle200Response ApiResponse GetAccessTfaSingleWithHttpInfo(string userid, int operationIndex = 0); /// /// getAccessTfaSingleSingle /// /// /// Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// GetAccessTfaSingleSingle200Response GetAccessTfaSingleSingle200Response GetAccessTfaSingleSingle(string id, string userid, int operationIndex = 0); /// /// getAccessTfaSingleSingle /// /// /// Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// ApiResponse of GetAccessTfaSingleSingle200Response ApiResponse GetAccessTfaSingleSingleWithHttpInfo(string id, string userid, int operationIndex = 0); /// /// getAccessTicket /// /// /// Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetAccessTicket(int operationIndex = 0); /// /// getAccessTicket /// /// /// Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetAccessTicketWithHttpInfo(int operationIndex = 0); /// /// getAccessUsers /// /// /// User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessUsers200Response GetAccessUsers200Response GetAccessUsers(int operationIndex = 0); /// /// getAccessUsers /// /// /// User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessUsers200Response ApiResponse GetAccessUsersWithHttpInfo(int operationIndex = 0); /// /// getAccessUsersSingle /// /// /// Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessUsersSingle200Response GetAccessUsersSingle200Response GetAccessUsersSingle(string userid, int operationIndex = 0); /// /// getAccessUsersSingle /// /// /// Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingle200Response ApiResponse GetAccessUsersSingleWithHttpInfo(string userid, int operationIndex = 0); /// /// getAccessUsersSingleTfa /// /// /// Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessUsersSingleTfa200Response GetAccessUsersSingleTfa200Response GetAccessUsersSingleTfa(string userid, int operationIndex = 0); /// /// getAccessUsersSingleTfa /// /// /// Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingleTfa200Response ApiResponse GetAccessUsersSingleTfaWithHttpInfo(string userid, int operationIndex = 0); /// /// getAccessUsersSingleToken /// /// /// Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessUsersSingleToken200Response GetAccessUsersSingleToken200Response GetAccessUsersSingleToken(string userid, int operationIndex = 0); /// /// getAccessUsersSingleToken /// /// /// Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingleToken200Response ApiResponse GetAccessUsersSingleTokenWithHttpInfo(string userid, int operationIndex = 0); /// /// getAccessUsersSingleTokenSingle /// /// /// Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// GetAccessUsersSingleTokenSingle200Response GetAccessUsersSingleTokenSingle200Response GetAccessUsersSingleTokenSingle(string tokenid, string userid, int operationIndex = 0); /// /// getAccessUsersSingleTokenSingle /// /// /// Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingleTokenSingle200Response ApiResponse GetAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, int operationIndex = 0); /// /// getCluster /// /// /// Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetCluster(int operationIndex = 0); /// /// getCluster /// /// /// Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterWithHttpInfo(int operationIndex = 0); /// /// getClusterAcme /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterAcme(int operationIndex = 0); /// /// getClusterAcme /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterAcmeWithHttpInfo(int operationIndex = 0); /// /// getClusterAcmeAccount /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterAcmeAccount(int operationIndex = 0); /// /// getClusterAcmeAccount /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterAcmeAccountWithHttpInfo(int operationIndex = 0); /// /// getClusterAcmeAccountSingle /// /// /// Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterAcmeAccountSingle200Response GetClusterAcmeAccountSingle200Response GetClusterAcmeAccountSingle(string name, int operationIndex = 0); /// /// getClusterAcmeAccountSingle /// /// /// Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterAcmeAccountSingle200Response ApiResponse GetClusterAcmeAccountSingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterAcmeChallengeschema /// /// /// Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeChallengeschema200Response GetClusterAcmeChallengeschema200Response GetClusterAcmeChallengeschema(int operationIndex = 0); /// /// getClusterAcmeChallengeschema /// /// /// Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeChallengeschema200Response ApiResponse GetClusterAcmeChallengeschemaWithHttpInfo(int operationIndex = 0); /// /// getClusterAcmeDirectories /// /// /// Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeDirectories200Response GetClusterAcmeDirectories200Response GetClusterAcmeDirectories(int operationIndex = 0); /// /// getClusterAcmeDirectories /// /// /// Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeDirectories200Response ApiResponse GetClusterAcmeDirectoriesWithHttpInfo(int operationIndex = 0); /// /// getClusterAcmeMeta /// /// /// Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeMeta200Response GetClusterAcmeMeta200Response GetClusterAcmeMeta(int operationIndex = 0); /// /// getClusterAcmeMeta /// /// /// Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeMeta200Response ApiResponse GetClusterAcmeMetaWithHttpInfo(int operationIndex = 0); /// /// getClusterAcmePlugins /// /// /// ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmePlugins200Response GetClusterAcmePlugins200Response GetClusterAcmePlugins(int operationIndex = 0); /// /// getClusterAcmePlugins /// /// /// ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmePlugins200Response ApiResponse GetClusterAcmePluginsWithHttpInfo(int operationIndex = 0); /// /// getClusterAcmePluginsSingle /// /// /// Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterAcmePluginsSingle200Response GetClusterAcmePluginsSingle200Response GetClusterAcmePluginsSingle(string id, int operationIndex = 0); /// /// getClusterAcmePluginsSingle /// /// /// Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterAcmePluginsSingle200Response ApiResponse GetClusterAcmePluginsSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterAcmeTos /// /// /// Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeTos200Response GetClusterAcmeTos200Response GetClusterAcmeTos(int operationIndex = 0); /// /// getClusterAcmeTos /// /// /// Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeTos200Response ApiResponse GetClusterAcmeTosWithHttpInfo(int operationIndex = 0); /// /// getClusterBackup /// /// /// List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackup200Response GetClusterBackup200Response GetClusterBackup(int operationIndex = 0); /// /// getClusterBackup /// /// /// List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackup200Response ApiResponse GetClusterBackupWithHttpInfo(int operationIndex = 0); /// /// getClusterBackupSingle /// /// /// Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterBackupSingle(string id, int operationIndex = 0); /// /// getClusterBackupSingle /// /// /// Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterBackupSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterBackupSingleIncludedvolumes /// /// /// Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterBackupSingleIncludedvolumes200Response GetClusterBackupSingleIncludedvolumes200Response GetClusterBackupSingleIncludedvolumes(string id, int operationIndex = 0); /// /// getClusterBackupSingleIncludedvolumes /// /// /// Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterBackupSingleIncludedvolumes200Response ApiResponse GetClusterBackupSingleIncludedvolumesWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterBackupinfo /// /// /// Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackupinfo200Response GetClusterBackupinfo200Response GetClusterBackupinfo(int operationIndex = 0); /// /// getClusterBackupinfo /// /// /// Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackupinfo200Response ApiResponse GetClusterBackupinfoWithHttpInfo(int operationIndex = 0); /// /// getClusterBackupinfoNotbackedup /// /// /// Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackupinfoNotbackedup200Response GetClusterBackupinfoNotbackedup200Response GetClusterBackupinfoNotbackedup(int operationIndex = 0); /// /// getClusterBackupinfoNotbackedup /// /// /// Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackupinfoNotbackedup200Response ApiResponse GetClusterBackupinfoNotbackedupWithHttpInfo(int operationIndex = 0); /// /// getClusterBulkaction /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMapping200Response GetClusterMapping200Response GetClusterBulkaction(int operationIndex = 0); /// /// getClusterBulkaction /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMapping200Response ApiResponse GetClusterBulkactionWithHttpInfo(int operationIndex = 0); /// /// getClusterBulkactionGuest /// /// /// Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterBulkactionGuest(int operationIndex = 0); /// /// getClusterBulkactionGuest /// /// /// Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterBulkactionGuestWithHttpInfo(int operationIndex = 0); /// /// getClusterCeph /// /// /// Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterCeph(int operationIndex = 0); /// /// getClusterCeph /// /// /// Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterCephWithHttpInfo(int operationIndex = 0); /// /// getClusterCephFlags /// /// /// get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterCephFlags200Response GetClusterCephFlags200Response GetClusterCephFlags(int operationIndex = 0); /// /// getClusterCephFlags /// /// /// get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterCephFlags200Response ApiResponse GetClusterCephFlagsWithHttpInfo(int operationIndex = 0); /// /// getClusterCephFlagsSingle /// /// /// Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// GetClusterCephFlagsSingle200Response GetClusterCephFlagsSingle200Response GetClusterCephFlagsSingle(string flag, int operationIndex = 0); /// /// getClusterCephFlagsSingle /// /// /// Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// ApiResponse of GetClusterCephFlagsSingle200Response ApiResponse GetClusterCephFlagsSingleWithHttpInfo(string flag, int operationIndex = 0); /// /// getClusterCephMetadata /// /// /// Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterCephMetadata200Response GetClusterCephMetadata200Response GetClusterCephMetadata(int operationIndex = 0); /// /// getClusterCephMetadata /// /// /// Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterCephMetadata200Response ApiResponse GetClusterCephMetadataWithHttpInfo(int operationIndex = 0); /// /// getClusterCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterCephStatus(int operationIndex = 0); /// /// getClusterCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterCephStatusWithHttpInfo(int operationIndex = 0); /// /// getClusterConfig /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterConfig(int operationIndex = 0); /// /// getClusterConfig /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterConfigWithHttpInfo(int operationIndex = 0); /// /// getClusterConfigApiversion /// /// /// Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterConfigApiversion200Response GetClusterConfigApiversion200Response GetClusterConfigApiversion(int operationIndex = 0); /// /// getClusterConfigApiversion /// /// /// Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterConfigApiversion200Response ApiResponse GetClusterConfigApiversionWithHttpInfo(int operationIndex = 0); /// /// getClusterConfigJoin /// /// /// Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterConfigJoin200Response GetClusterConfigJoin200Response GetClusterConfigJoin(int operationIndex = 0); /// /// getClusterConfigJoin /// /// /// Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterConfigJoin200Response ApiResponse GetClusterConfigJoinWithHttpInfo(int operationIndex = 0); /// /// getClusterConfigNodes /// /// /// Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterConfigNodes200Response GetClusterConfigNodes200Response GetClusterConfigNodes(int operationIndex = 0); /// /// getClusterConfigNodes /// /// /// Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterConfigNodes200Response ApiResponse GetClusterConfigNodesWithHttpInfo(int operationIndex = 0); /// /// getClusterConfigQdevice /// /// /// Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterConfigQdevice(int operationIndex = 0); /// /// getClusterConfigQdevice /// /// /// Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterConfigQdeviceWithHttpInfo(int operationIndex = 0); /// /// getClusterConfigTotem /// /// /// Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterConfigTotem(int operationIndex = 0); /// /// getClusterConfigTotem /// /// /// Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterConfigTotemWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterFirewall(int operationIndex = 0); /// /// getClusterFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterFirewallWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallAliases200Response GetClusterFirewallAliases200Response GetClusterFirewallAliases(int operationIndex = 0); /// /// getClusterFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallAliases200Response ApiResponse GetClusterFirewallAliasesWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterFirewallAliasesSingle(string name, int operationIndex = 0); /// /// getClusterFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterFirewallAliasesSingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterFirewallGroupRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule(string group, int pos, int operationIndex = 0); /// /// getClusterFirewallGroupRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response ApiResponse GetClusterFirewallGroupRuleWithHttpInfo(string group, int pos, int operationIndex = 0); /// /// getClusterFirewallGroupRules /// /// /// List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules(string group, int operationIndex = 0); /// /// getClusterFirewallGroupRules /// /// /// List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response ApiResponse GetClusterFirewallGroupRulesWithHttpInfo(string group, int operationIndex = 0); /// /// getClusterFirewallGroups /// /// /// List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallGroups200Response GetClusterFirewallGroups200Response GetClusterFirewallGroups(int operationIndex = 0); /// /// getClusterFirewallGroups /// /// /// List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroups200Response ApiResponse GetClusterFirewallGroupsWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterFirewallIPSet200Response GetClusterFirewallIPSet200Response GetClusterFirewallIPSet(string name, int operationIndex = 0); /// /// getClusterFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSet200Response ApiResponse GetClusterFirewallIPSetWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterFirewallIPSetIP(string cidr, string name, int operationIndex = 0); /// /// getClusterFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterFirewallIPSetIPWithHttpInfo(string cidr, string name, int operationIndex = 0); /// /// getClusterFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallIPSets200Response GetClusterFirewallIPSets200Response GetClusterFirewallIPSets(int operationIndex = 0); /// /// getClusterFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSets200Response ApiResponse GetClusterFirewallIPSetsWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallMacros /// /// /// List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallMacros200Response GetClusterFirewallMacros200Response GetClusterFirewallMacros(int operationIndex = 0); /// /// getClusterFirewallMacros /// /// /// List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallMacros200Response ApiResponse GetClusterFirewallMacrosWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallOptions /// /// /// Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallOptions200Response GetClusterFirewallOptions200Response GetClusterFirewallOptions(int operationIndex = 0); /// /// getClusterFirewallOptions /// /// /// Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallOptions200Response ApiResponse GetClusterFirewallOptionsWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallRefs200Response GetClusterFirewallRefs200Response GetClusterFirewallRefs(int operationIndex = 0); /// /// getClusterFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallRefs200Response ApiResponse GetClusterFirewallRefsWithHttpInfo(int operationIndex = 0); /// /// getClusterFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule200Response GetClusterFirewallRule(int pos, int operationIndex = 0); /// /// getClusterFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response ApiResponse GetClusterFirewallRuleWithHttpInfo(int pos, int operationIndex = 0); /// /// getClusterFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules200Response GetClusterFirewallRules(int operationIndex = 0); /// /// getClusterFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response ApiResponse GetClusterFirewallRulesWithHttpInfo(int operationIndex = 0); /// /// getClusterHa /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHa200Response GetClusterHa200Response GetClusterHa(int operationIndex = 0); /// /// getClusterHa /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response ApiResponse GetClusterHaWithHttpInfo(int operationIndex = 0); /// /// getClusterHaGroups /// /// /// Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaGroups200Response GetClusterHaGroups200Response GetClusterHaGroups(int operationIndex = 0); /// /// getClusterHaGroups /// /// /// Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaGroups200Response ApiResponse GetClusterHaGroupsWithHttpInfo(int operationIndex = 0); /// /// getClusterHaGroupsSingle /// /// /// Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetClusterHaGroupsSingle(string group, int operationIndex = 0); /// /// getClusterHaGroupsSingle /// /// /// Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetClusterHaGroupsSingleWithHttpInfo(string group, int operationIndex = 0); /// /// getClusterHaResources /// /// /// List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaResources200Response GetClusterHaResources200Response GetClusterHaResources(int operationIndex = 0); /// /// getClusterHaResources /// /// /// List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaResources200Response ApiResponse GetClusterHaResourcesWithHttpInfo(int operationIndex = 0); /// /// getClusterHaResourcesSingle /// /// /// Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// GetClusterHaResourcesSingle200Response GetClusterHaResourcesSingle200Response GetClusterHaResourcesSingle(string sid, int operationIndex = 0); /// /// getClusterHaResourcesSingle /// /// /// Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// ApiResponse of GetClusterHaResourcesSingle200Response ApiResponse GetClusterHaResourcesSingleWithHttpInfo(string sid, int operationIndex = 0); /// /// getClusterHaRules /// /// /// Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaRules200Response GetClusterHaRules200Response GetClusterHaRules(int operationIndex = 0); /// /// getClusterHaRules /// /// /// Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaRules200Response ApiResponse GetClusterHaRulesWithHttpInfo(int operationIndex = 0); /// /// getClusterHaRulesSingle /// /// /// Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// GetClusterHaRulesSingle200Response GetClusterHaRulesSingle200Response GetClusterHaRulesSingle(string rule, int operationIndex = 0); /// /// getClusterHaRulesSingle /// /// /// Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// ApiResponse of GetClusterHaRulesSingle200Response ApiResponse GetClusterHaRulesSingleWithHttpInfo(string rule, int operationIndex = 0); /// /// getClusterHaStatus /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterHaStatus(int operationIndex = 0); /// /// getClusterHaStatus /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterHaStatusWithHttpInfo(int operationIndex = 0); /// /// getClusterHaStatusCurrent /// /// /// Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaStatusCurrent200Response GetClusterHaStatusCurrent200Response GetClusterHaStatusCurrent(int operationIndex = 0); /// /// getClusterHaStatusCurrent /// /// /// Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaStatusCurrent200Response ApiResponse GetClusterHaStatusCurrentWithHttpInfo(int operationIndex = 0); /// /// getClusterHaStatusManagerstatus /// /// /// Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterHaStatusManagerstatus(int operationIndex = 0); /// /// getClusterHaStatusManagerstatus /// /// /// Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterHaStatusManagerstatusWithHttpInfo(int operationIndex = 0); /// /// getClusterJobs /// /// /// Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackupinfo200Response GetClusterBackupinfo200Response GetClusterJobs(int operationIndex = 0); /// /// getClusterJobs /// /// /// Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackupinfo200Response ApiResponse GetClusterJobsWithHttpInfo(int operationIndex = 0); /// /// getClusterJobsRealmsync /// /// /// List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterJobsRealmsync200Response GetClusterJobsRealmsync200Response GetClusterJobsRealmsync(int operationIndex = 0); /// /// getClusterJobsRealmsync /// /// /// List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterJobsRealmsync200Response ApiResponse GetClusterJobsRealmsyncWithHttpInfo(int operationIndex = 0); /// /// getClusterJobsRealmsyncSingle /// /// /// Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterJobsRealmsyncSingle(string id, int operationIndex = 0); /// /// getClusterJobsRealmsyncSingle /// /// /// Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterJobsRealmsyncSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterJobsScheduleanalyze /// /// /// Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterJobsScheduleanalyze200Response GetClusterJobsScheduleanalyze200Response GetClusterJobsScheduleanalyze(int operationIndex = 0); /// /// getClusterJobsScheduleanalyze /// /// /// Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterJobsScheduleanalyze200Response ApiResponse GetClusterJobsScheduleanalyzeWithHttpInfo(int operationIndex = 0); /// /// getClusterLog /// /// /// Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterLog(int operationIndex = 0); /// /// getClusterLog /// /// /// Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterLogWithHttpInfo(int operationIndex = 0); /// /// getClusterMapping /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMapping200Response GetClusterMapping200Response GetClusterMapping(int operationIndex = 0); /// /// getClusterMapping /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMapping200Response ApiResponse GetClusterMappingWithHttpInfo(int operationIndex = 0); /// /// getClusterMappingDir /// /// /// List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMappingDir200Response GetClusterMappingDir200Response GetClusterMappingDir(int operationIndex = 0); /// /// getClusterMappingDir /// /// /// List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMappingDir200Response ApiResponse GetClusterMappingDirWithHttpInfo(int operationIndex = 0); /// /// getClusterMappingDirSingle /// /// /// Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterMappingDirSingle(string id, int operationIndex = 0); /// /// getClusterMappingDirSingle /// /// /// Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterMappingDirSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterMappingPci /// /// /// List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMappingPci200Response GetClusterMappingPci200Response GetClusterMappingPci(int operationIndex = 0); /// /// getClusterMappingPci /// /// /// List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMappingPci200Response ApiResponse GetClusterMappingPciWithHttpInfo(int operationIndex = 0); /// /// getClusterMappingPciSingle /// /// /// Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterMappingPciSingle(string id, int operationIndex = 0); /// /// getClusterMappingPciSingle /// /// /// Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterMappingPciSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterMappingUsb /// /// /// List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMappingUsb200Response GetClusterMappingUsb200Response GetClusterMappingUsb(int operationIndex = 0); /// /// getClusterMappingUsb /// /// /// List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMappingUsb200Response ApiResponse GetClusterMappingUsbWithHttpInfo(int operationIndex = 0); /// /// getClusterMappingUsbSingle /// /// /// Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterMappingUsbSingle(string id, int operationIndex = 0); /// /// getClusterMappingUsbSingle /// /// /// Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterMappingUsbSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterMetrics /// /// /// Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterMetrics(int operationIndex = 0); /// /// getClusterMetrics /// /// /// Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterMetricsWithHttpInfo(int operationIndex = 0); /// /// getClusterMetricsExport /// /// /// Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsExport200Response GetClusterMetricsExport200Response GetClusterMetricsExport(int operationIndex = 0); /// /// getClusterMetricsExport /// /// /// Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsExport200Response ApiResponse GetClusterMetricsExportWithHttpInfo(int operationIndex = 0); /// /// getClusterMetricsServer /// /// /// List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServer200Response GetClusterMetricsServer200Response GetClusterMetricsServer(int operationIndex = 0); /// /// getClusterMetricsServer /// /// /// List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServer200Response ApiResponse GetClusterMetricsServerWithHttpInfo(int operationIndex = 0); /// /// getClusterMetricsServerSingle /// /// /// Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle(string id, int operationIndex = 0); /// /// getClusterMetricsServerSingle /// /// /// Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterMetricsServerSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterNextid /// /// /// Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNextid200Response GetClusterNextid200Response GetClusterNextid(int operationIndex = 0); /// /// getClusterNextid /// /// /// Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNextid200Response ApiResponse GetClusterNextidWithHttpInfo(int operationIndex = 0); /// /// getClusterNotifications /// /// /// Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterNotifications(int operationIndex = 0); /// /// getClusterNotifications /// /// /// Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterNotificationsWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsEndpoints /// /// /// Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterNotificationsEndpoints(int operationIndex = 0); /// /// getClusterNotificationsEndpoints /// /// /// Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterNotificationsEndpointsWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsEndpointsGotify /// /// /// Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsGotify200Response GetClusterNotificationsEndpointsGotify200Response GetClusterNotificationsEndpointsGotify(int operationIndex = 0); /// /// getClusterNotificationsEndpointsGotify /// /// /// Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsGotify200Response ApiResponse GetClusterNotificationsEndpointsGotifyWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsEndpointsGotifySingle /// /// /// Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsGotifySingle200Response GetClusterNotificationsEndpointsGotifySingle200Response GetClusterNotificationsEndpointsGotifySingle(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsGotifySingle /// /// /// Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsGotifySingle200Response ApiResponse GetClusterNotificationsEndpointsGotifySingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsSendmail /// /// /// Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsSendmail200Response GetClusterNotificationsEndpointsSendmail200Response GetClusterNotificationsEndpointsSendmail(int operationIndex = 0); /// /// getClusterNotificationsEndpointsSendmail /// /// /// Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSendmail200Response ApiResponse GetClusterNotificationsEndpointsSendmailWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsEndpointsSendmailSingle /// /// /// Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsSendmailSingle200Response GetClusterNotificationsEndpointsSendmailSingle200Response GetClusterNotificationsEndpointsSendmailSingle(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsSendmailSingle /// /// /// Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSendmailSingle200Response ApiResponse GetClusterNotificationsEndpointsSendmailSingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsSmtp /// /// /// Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsSmtp200Response GetClusterNotificationsEndpointsSmtp200Response GetClusterNotificationsEndpointsSmtp(int operationIndex = 0); /// /// getClusterNotificationsEndpointsSmtp /// /// /// Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSmtp200Response ApiResponse GetClusterNotificationsEndpointsSmtpWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsEndpointsSmtpSingle /// /// /// Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsSmtpSingle200Response GetClusterNotificationsEndpointsSmtpSingle200Response GetClusterNotificationsEndpointsSmtpSingle(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsSmtpSingle /// /// /// Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSmtpSingle200Response ApiResponse GetClusterNotificationsEndpointsSmtpSingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsWebhook /// /// /// Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsWebhook200Response GetClusterNotificationsEndpointsWebhook200Response GetClusterNotificationsEndpointsWebhook(int operationIndex = 0); /// /// getClusterNotificationsEndpointsWebhook /// /// /// Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsWebhook200Response ApiResponse GetClusterNotificationsEndpointsWebhookWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsEndpointsWebhookSingle /// /// /// Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsWebhookSingle200Response GetClusterNotificationsEndpointsWebhookSingle200Response GetClusterNotificationsEndpointsWebhookSingle(string name, int operationIndex = 0); /// /// getClusterNotificationsEndpointsWebhookSingle /// /// /// Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsWebhookSingle200Response ApiResponse GetClusterNotificationsEndpointsWebhookSingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterNotificationsMatcherfields /// /// /// Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsMatcherfields200Response GetClusterNotificationsMatcherfields200Response GetClusterNotificationsMatcherfields(int operationIndex = 0); /// /// getClusterNotificationsMatcherfields /// /// /// Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatcherfields200Response ApiResponse GetClusterNotificationsMatcherfieldsWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsMatcherfieldvalues /// /// /// Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsMatcherfieldvalues200Response GetClusterNotificationsMatcherfieldvalues200Response GetClusterNotificationsMatcherfieldvalues(int operationIndex = 0); /// /// getClusterNotificationsMatcherfieldvalues /// /// /// Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatcherfieldvalues200Response ApiResponse GetClusterNotificationsMatcherfieldvaluesWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsMatchers /// /// /// Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsMatchers200Response GetClusterNotificationsMatchers200Response GetClusterNotificationsMatchers(int operationIndex = 0); /// /// getClusterNotificationsMatchers /// /// /// Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatchers200Response ApiResponse GetClusterNotificationsMatchersWithHttpInfo(int operationIndex = 0); /// /// getClusterNotificationsMatchersSingle /// /// /// Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsMatchersSingle200Response GetClusterNotificationsMatchersSingle200Response GetClusterNotificationsMatchersSingle(string name, int operationIndex = 0); /// /// getClusterNotificationsMatchersSingle /// /// /// Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatchersSingle200Response ApiResponse GetClusterNotificationsMatchersSingleWithHttpInfo(string name, int operationIndex = 0); /// /// getClusterNotificationsTargets /// /// /// Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsTargets200Response GetClusterNotificationsTargets200Response GetClusterNotificationsTargets(int operationIndex = 0); /// /// getClusterNotificationsTargets /// /// /// Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsTargets200Response ApiResponse GetClusterNotificationsTargetsWithHttpInfo(int operationIndex = 0); /// /// getClusterOptions /// /// /// Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterOptions(int operationIndex = 0); /// /// getClusterOptions /// /// /// Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterOptionsWithHttpInfo(int operationIndex = 0); /// /// getClusterReplication /// /// /// List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterReplication200Response GetClusterReplication200Response GetClusterReplication(int operationIndex = 0); /// /// getClusterReplication /// /// /// List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterReplication200Response ApiResponse GetClusterReplicationWithHttpInfo(int operationIndex = 0); /// /// getClusterReplicationSingle /// /// /// Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterReplicationSingle200Response GetClusterReplicationSingle200Response GetClusterReplicationSingle(string id, int operationIndex = 0); /// /// getClusterReplicationSingle /// /// /// Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterReplicationSingle200Response ApiResponse GetClusterReplicationSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterResources /// /// /// Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterResources200Response GetClusterResources200Response GetClusterResources(int operationIndex = 0); /// /// getClusterResources /// /// /// Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterResources200Response ApiResponse GetClusterResourcesWithHttpInfo(int operationIndex = 0); /// /// getClusterSDN /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHa200Response GetClusterHa200Response GetClusterSDN(int operationIndex = 0); /// /// getClusterSDN /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response ApiResponse GetClusterSDNWithHttpInfo(int operationIndex = 0); /// /// getClusterSDNController /// /// /// Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetClusterSDNController(string controller, int operationIndex = 0); /// /// getClusterSDNController /// /// /// Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetClusterSDNControllerWithHttpInfo(string controller, int operationIndex = 0); /// /// getClusterSDNControllers /// /// /// SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSDNControllers200Response GetClusterSDNControllers200Response GetClusterSDNControllers(int operationIndex = 0); /// /// getClusterSDNControllers /// /// /// SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSDNControllers200Response ApiResponse GetClusterSDNControllersWithHttpInfo(int operationIndex = 0); /// /// getClusterSDNVnet /// /// /// Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetClusterSDNVnet(string vnet, int operationIndex = 0); /// /// getClusterSDNVnet /// /// /// Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetClusterSDNVnetWithHttpInfo(string vnet, int operationIndex = 0); /// /// getClusterSDNVnets /// /// /// SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSDNVnets200Response GetClusterSDNVnets200Response GetClusterSDNVnets(int operationIndex = 0); /// /// getClusterSDNVnets /// /// /// SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSDNVnets200Response ApiResponse GetClusterSDNVnetsWithHttpInfo(int operationIndex = 0); /// /// getClusterSDNZone /// /// /// Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetClusterSDNZone(string zone, int operationIndex = 0); /// /// getClusterSDNZone /// /// /// Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetClusterSDNZoneWithHttpInfo(string zone, int operationIndex = 0); /// /// getClusterSDNZones /// /// /// SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSDNZones200Response GetClusterSDNZones200Response GetClusterSDNZones(int operationIndex = 0); /// /// getClusterSDNZones /// /// /// SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSDNZones200Response ApiResponse GetClusterSDNZonesWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnDns /// /// /// SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnDns200Response GetClusterSdnDns200Response GetClusterSdnDns(int operationIndex = 0); /// /// getClusterSdnDns /// /// /// SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnDns200Response ApiResponse GetClusterSdnDnsWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnDnsSingle /// /// /// Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterSdnDnsSingle(string dns, int operationIndex = 0); /// /// getClusterSdnDnsSingle /// /// /// Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterSdnDnsSingleWithHttpInfo(string dns, int operationIndex = 0); /// /// getClusterSdnFabrics /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetClusterSdnFabrics(int operationIndex = 0); /// /// getClusterSdnFabrics /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetClusterSdnFabricsWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnFabricsAll /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabricsAll200Response GetClusterSdnFabricsAll200Response GetClusterSdnFabricsAll(int operationIndex = 0); /// /// getClusterSdnFabricsAll /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsAll200Response ApiResponse GetClusterSdnFabricsAllWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnFabricsFabric /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabricsFabric200Response GetClusterSdnFabricsFabric200Response GetClusterSdnFabricsFabric(int operationIndex = 0); /// /// getClusterSdnFabricsFabric /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsFabric200Response ApiResponse GetClusterSdnFabricsFabricWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterSdnFabricsFabricSingle200Response GetClusterSdnFabricsFabricSingle200Response GetClusterSdnFabricsFabricSingle(string id, int operationIndex = 0); /// /// getClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsFabricSingle200Response ApiResponse GetClusterSdnFabricsFabricSingleWithHttpInfo(string id, int operationIndex = 0); /// /// getClusterSdnFabricsNode /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabricsNode200Response GetClusterSdnFabricsNode200Response GetClusterSdnFabricsNode(int operationIndex = 0); /// /// getClusterSdnFabricsNode /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsNode200Response ApiResponse GetClusterSdnFabricsNodeWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnFabricsNodeSingle /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// GetClusterSdnFabricsNode200Response GetClusterSdnFabricsNode200Response GetClusterSdnFabricsNodeSingle(string fabricId, int operationIndex = 0); /// /// getClusterSdnFabricsNodeSingle /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsNode200Response ApiResponse GetClusterSdnFabricsNodeSingleWithHttpInfo(string fabricId, int operationIndex = 0); /// /// getClusterSdnFabricsNodeSingleSingle /// /// /// Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetClusterSdnFabricsNodeSingleSingle(string fabricId, string nodeId, int operationIndex = 0); /// /// getClusterSdnFabricsNodeSingleSingle /// /// /// Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetClusterSdnFabricsNodeSingleSingleWithHttpInfo(string fabricId, string nodeId, int operationIndex = 0); /// /// getClusterSdnIpams /// /// /// SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnIpams200Response GetClusterSdnIpams200Response GetClusterSdnIpams(int operationIndex = 0); /// /// getClusterSdnIpams /// /// /// SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnIpams200Response ApiResponse GetClusterSdnIpamsWithHttpInfo(int operationIndex = 0); /// /// getClusterSdnIpamsSingle /// /// /// Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterSdnIpamsSingle(string ipam, int operationIndex = 0); /// /// getClusterSdnIpamsSingle /// /// /// Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterSdnIpamsSingleWithHttpInfo(string ipam, int operationIndex = 0); /// /// getClusterSdnIpamsSingleStatus /// /// /// List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// GetClusterSdnIpamsSingleStatus200Response GetClusterSdnIpamsSingleStatus200Response GetClusterSdnIpamsSingleStatus(string ipam, int operationIndex = 0); /// /// getClusterSdnIpamsSingleStatus /// /// /// List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// ApiResponse of GetClusterSdnIpamsSingleStatus200Response ApiResponse GetClusterSdnIpamsSingleStatusWithHttpInfo(string ipam, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterSdnVnetsSingleFirewall(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterSdnVnetsSingleFirewallWithHttpInfo(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewallOptions /// /// /// Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetClusterSdnVnetsSingleFirewallOptions200Response GetClusterSdnVnetsSingleFirewallOptions200Response GetClusterSdnVnetsSingleFirewallOptions(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewallOptions /// /// /// Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterSdnVnetsSingleFirewallOptions200Response ApiResponse GetClusterSdnVnetsSingleFirewallOptionsWithHttpInfo(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules200Response GetClusterSdnVnetsSingleFirewallRules(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response ApiResponse GetClusterSdnVnetsSingleFirewallRulesWithHttpInfo(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule200Response GetClusterSdnVnetsSingleFirewallRulesSingle(int pos, string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response ApiResponse GetClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(int pos, string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleSubnets /// /// /// SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetClusterSdnVnetsSingleSubnets(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleSubnets /// /// /// SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetClusterSdnVnetsSingleSubnetsWithHttpInfo(string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleSubnetsSingle /// /// /// Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetClusterSdnVnetsSingleSubnetsSingle(string subnet, string vnet, int operationIndex = 0); /// /// getClusterSdnVnetsSingleSubnetsSingle /// /// /// Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(string subnet, string vnet, int operationIndex = 0); /// /// getClusterStatus /// /// /// Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterStatus200Response GetClusterStatus200Response GetClusterStatus(int operationIndex = 0); /// /// getClusterStatus /// /// /// Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterStatus200Response ApiResponse GetClusterStatusWithHttpInfo(int operationIndex = 0); /// /// getClusterTasks /// /// /// List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterTasks200Response GetClusterTasks200Response GetClusterTasks(int operationIndex = 0); /// /// getClusterTasks /// /// /// List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterTasks200Response ApiResponse GetClusterTasksWithHttpInfo(int operationIndex = 0); /// /// getCurrentVMStatus /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCurrentVMStatus200Response GetCurrentVMStatus200Response GetCurrentVMStatus(string node, int vmid, int operationIndex = 0); /// /// getCurrentVMStatus /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCurrentVMStatus200Response ApiResponse GetCurrentVMStatusWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNode /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNode(string node, int operationIndex = 0); /// /// getNode /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodeWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodeFirewall(string node, int operationIndex = 0); /// /// getNodeFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodeFirewallWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeFirewallOptions /// /// /// Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodeFirewallOptions200Response GetNodeFirewallOptions200Response GetNodeFirewallOptions(string node, int operationIndex = 0); /// /// getNodeFirewallOptions /// /// /// Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodeFirewallOptions200Response ApiResponse GetNodeFirewallOptionsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule200Response GetNodeFirewallRule(string node, int pos, int operationIndex = 0); /// /// getNodeFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response ApiResponse GetNodeFirewallRuleWithHttpInfo(string node, int pos, int operationIndex = 0); /// /// getNodeFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules200Response GetNodeFirewallRules(string node, int operationIndex = 0); /// /// getNodeFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response ApiResponse GetNodeFirewallRulesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeRRD /// /// /// Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetVMRRD200Response GetVMRRD200Response GetNodeRRD(string node, int operationIndex = 0); /// /// getNodeRRD /// /// /// Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response ApiResponse GetNodeRRDWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeRRDData /// /// /// Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodeRRDData(string node, int operationIndex = 0); /// /// getNodeRRDData /// /// /// Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodeRRDDataWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeSDN /// /// /// SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodeSDN(string node, int operationIndex = 0); /// /// getNodeSDN /// /// /// SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodeSDNWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeSDNZone /// /// /// Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodeSDNZone(string node, string zone, int operationIndex = 0); /// /// getNodeSDNZone /// /// /// Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodeSDNZoneWithHttpInfo(string node, string zone, int operationIndex = 0); /// /// getNodeSDNZoneContent /// /// /// List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetNodeSDNZoneContent200Response GetNodeSDNZoneContent200Response GetNodeSDNZoneContent(string node, string zone, int operationIndex = 0); /// /// getNodeSDNZoneContent /// /// /// List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetNodeSDNZoneContent200Response ApiResponse GetNodeSDNZoneContentWithHttpInfo(string node, string zone, int operationIndex = 0); /// /// getNodeSDNZones /// /// /// Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodeSDNZones200Response GetNodeSDNZones200Response GetNodeSDNZones(string node, int operationIndex = 0); /// /// getNodeSDNZones /// /// /// Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodeSDNZones200Response ApiResponse GetNodeSDNZonesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodeTask /// /// /// getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodeTask(string node, string upid, int operationIndex = 0); /// /// getNodeTask /// /// /// getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodeTaskWithHttpInfo(string node, string upid, int operationIndex = 0); /// /// getNodeTaskLog /// /// /// Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodeTaskLog(string node, string upid, int operationIndex = 0); /// /// getNodeTaskLog /// /// /// Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodeTaskLogWithHttpInfo(string node, string upid, int operationIndex = 0); /// /// getNodeTaskStatus /// /// /// Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// GetNodeTaskStatus200Response GetNodeTaskStatus200Response GetNodeTaskStatus(string node, string upid, int operationIndex = 0); /// /// getNodeTaskStatus /// /// /// Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of GetNodeTaskStatus200Response ApiResponse GetNodeTaskStatusWithHttpInfo(string node, string upid, int operationIndex = 0); /// /// getNodeTasks /// /// /// Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodeTasks200Response GetNodeTasks200Response GetNodeTasks(string node, int operationIndex = 0); /// /// getNodeTasks /// /// /// Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodeTasks200Response ApiResponse GetNodeTasksWithHttpInfo(string node, int operationIndex = 0); /// /// getNodes /// /// /// Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetNodes200Response GetNodes200Response GetNodes(int operationIndex = 0); /// /// getNodes /// /// /// Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetNodes200Response ApiResponse GetNodesWithHttpInfo(int operationIndex = 0); /// /// getNodesSingleAplinfo /// /// /// Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleAplinfo(string node, int operationIndex = 0); /// /// getNodesSingleAplinfo /// /// /// Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleAplinfoWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleApt /// /// /// Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterHa200Response GetClusterHa200Response GetNodesSingleApt(string node, int operationIndex = 0); /// /// getNodesSingleApt /// /// /// Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response ApiResponse GetNodesSingleAptWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleAptChangelog /// /// /// Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetNodesSingleAptChangelog(string node, int operationIndex = 0); /// /// getNodesSingleAptChangelog /// /// /// Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetNodesSingleAptChangelogWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleAptRepositories /// /// /// Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleAptRepositories200Response GetNodesSingleAptRepositories200Response GetNodesSingleAptRepositories(string node, int operationIndex = 0); /// /// getNodesSingleAptRepositories /// /// /// Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleAptRepositories200Response ApiResponse GetNodesSingleAptRepositoriesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleAptUpdate /// /// /// List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleAptUpdate200Response GetNodesSingleAptUpdate200Response GetNodesSingleAptUpdate(string node, int operationIndex = 0); /// /// getNodesSingleAptUpdate /// /// /// List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleAptUpdate200Response ApiResponse GetNodesSingleAptUpdateWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleAptVersions /// /// /// Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleAptVersions200Response GetNodesSingleAptVersions200Response GetNodesSingleAptVersions(string node, int operationIndex = 0); /// /// getNodesSingleAptVersions /// /// /// Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleAptVersions200Response ApiResponse GetNodesSingleAptVersionsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCapabilities /// /// /// Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCapabilities(string node, int operationIndex = 0); /// /// getNodesSingleCapabilities /// /// /// Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCapabilitiesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemu /// /// /// QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCapabilitiesQemu(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemu /// /// /// QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCapabilitiesQemuWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuCpu /// /// /// List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuCpu200Response GetNodesSingleCapabilitiesQemuCpu200Response GetNodesSingleCapabilitiesQemuCpu(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuCpu /// /// /// List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuCpu200Response ApiResponse GetNodesSingleCapabilitiesQemuCpuWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuCpuflags /// /// /// List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuCpuflags200Response GetNodesSingleCapabilitiesQemuCpuflags200Response GetNodesSingleCapabilitiesQemuCpuflags(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuCpuflags /// /// /// List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuCpuflags200Response ApiResponse GetNodesSingleCapabilitiesQemuCpuflagsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuMachines /// /// /// Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuMachines200Response GetNodesSingleCapabilitiesQemuMachines200Response GetNodesSingleCapabilitiesQemuMachines(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuMachines /// /// /// Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuMachines200Response ApiResponse GetNodesSingleCapabilitiesQemuMachinesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuMigration /// /// /// Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuMigration200Response GetNodesSingleCapabilitiesQemuMigration200Response GetNodesSingleCapabilitiesQemuMigration(string node, int operationIndex = 0); /// /// getNodesSingleCapabilitiesQemuMigration /// /// /// Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuMigration200Response ApiResponse GetNodesSingleCapabilitiesQemuMigrationWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCeph /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCeph(string node, int operationIndex = 0); /// /// getNodesSingleCeph /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCephWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephCfg /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCephCfg(string node, int operationIndex = 0); /// /// getNodesSingleCephCfg /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCephCfgWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephCfgDb /// /// /// Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephCfgDb200Response GetNodesSingleCephCfgDb200Response GetNodesSingleCephCfgDb(string node, int operationIndex = 0); /// /// getNodesSingleCephCfgDb /// /// /// Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephCfgDb200Response ApiResponse GetNodesSingleCephCfgDbWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephCfgRaw /// /// /// Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetNodesSingleCephCfgRaw(string node, int operationIndex = 0); /// /// getNodesSingleCephCfgRaw /// /// /// Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetNodesSingleCephCfgRawWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephCfgValue /// /// /// Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephCfgValue200Response GetNodesSingleCephCfgValue200Response GetNodesSingleCephCfgValue(string node, int operationIndex = 0); /// /// getNodesSingleCephCfgValue /// /// /// Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephCfgValue200Response ApiResponse GetNodesSingleCephCfgValueWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephCmdsafety /// /// /// Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephCmdsafety200Response GetNodesSingleCephCmdsafety200Response GetNodesSingleCephCmdsafety(string node, int operationIndex = 0); /// /// getNodesSingleCephCmdsafety /// /// /// Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephCmdsafety200Response ApiResponse GetNodesSingleCephCmdsafetyWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephCrush /// /// /// Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetNodesSingleCephCrush(string node, int operationIndex = 0); /// /// getNodesSingleCephCrush /// /// /// Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetNodesSingleCephCrushWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephFs /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephFs200Response GetNodesSingleCephFs200Response GetNodesSingleCephFs(string node, int operationIndex = 0); /// /// getNodesSingleCephFs /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephFs200Response ApiResponse GetNodesSingleCephFsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephLog /// /// /// Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleCephLog(string node, int operationIndex = 0); /// /// getNodesSingleCephLog /// /// /// Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodesSingleCephLogWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephMds /// /// /// MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephMds200Response GetNodesSingleCephMds200Response GetNodesSingleCephMds(string node, int operationIndex = 0); /// /// getNodesSingleCephMds /// /// /// MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephMds200Response ApiResponse GetNodesSingleCephMdsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephMgr /// /// /// MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephMgr200Response GetNodesSingleCephMgr200Response GetNodesSingleCephMgr(string node, int operationIndex = 0); /// /// getNodesSingleCephMgr /// /// /// MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephMgr200Response ApiResponse GetNodesSingleCephMgrWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephMon /// /// /// Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephMon200Response GetNodesSingleCephMon200Response GetNodesSingleCephMon(string node, int operationIndex = 0); /// /// getNodesSingleCephMon /// /// /// Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephMon200Response ApiResponse GetNodesSingleCephMonWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephOsd /// /// /// Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleCephOsd(string node, int operationIndex = 0); /// /// getNodesSingleCephOsd /// /// /// Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleCephOsdWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephOsdSingle /// /// /// OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCephOsdSingle(string node, int osdid, int operationIndex = 0); /// /// getNodesSingleCephOsdSingle /// /// /// OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCephOsdSingleWithHttpInfo(string node, int osdid, int operationIndex = 0); /// /// getNodesSingleCephOsdSingleLvinfo /// /// /// Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// GetNodesSingleCephOsdSingleLvinfo200Response GetNodesSingleCephOsdSingleLvinfo200Response GetNodesSingleCephOsdSingleLvinfo(string node, int osdid, int operationIndex = 0); /// /// getNodesSingleCephOsdSingleLvinfo /// /// /// Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephOsdSingleLvinfo200Response ApiResponse GetNodesSingleCephOsdSingleLvinfoWithHttpInfo(string node, int osdid, int operationIndex = 0); /// /// getNodesSingleCephOsdSingleMetadata /// /// /// Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// GetNodesSingleCephOsdSingleMetadata200Response GetNodesSingleCephOsdSingleMetadata200Response GetNodesSingleCephOsdSingleMetadata(string node, int osdid, int operationIndex = 0); /// /// getNodesSingleCephOsdSingleMetadata /// /// /// Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephOsdSingleMetadata200Response ApiResponse GetNodesSingleCephOsdSingleMetadataWithHttpInfo(string node, int osdid, int operationIndex = 0); /// /// getNodesSingleCephPool /// /// /// List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephPool200Response GetNodesSingleCephPool200Response GetNodesSingleCephPool(string node, int operationIndex = 0); /// /// getNodesSingleCephPool /// /// /// List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephPool200Response ApiResponse GetNodesSingleCephPoolWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephPoolSingle /// /// /// Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCephPoolSingle(string name, string node, int operationIndex = 0); /// /// getNodesSingleCephPoolSingle /// /// /// Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCephPoolSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// getNodesSingleCephPoolSingleStatus /// /// /// Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// GetNodesSingleCephPoolSingleStatus200Response GetNodesSingleCephPoolSingleStatus200Response GetNodesSingleCephPoolSingleStatus(string name, string node, int operationIndex = 0); /// /// getNodesSingleCephPoolSingleStatus /// /// /// Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephPoolSingleStatus200Response ApiResponse GetNodesSingleCephPoolSingleStatusWithHttpInfo(string name, string node, int operationIndex = 0); /// /// getNodesSingleCephRules /// /// /// List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephRules200Response GetNodesSingleCephRules200Response GetNodesSingleCephRules(string node, int operationIndex = 0); /// /// getNodesSingleCephRules /// /// /// List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephRules200Response ApiResponse GetNodesSingleCephRulesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleCephStatus(string node, int operationIndex = 0); /// /// getNodesSingleCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleCephStatusWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCertificates /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCertificates(string node, int operationIndex = 0); /// /// getNodesSingleCertificates /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCertificatesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCertificatesAcme /// /// /// ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleCertificatesAcme(string node, int operationIndex = 0); /// /// getNodesSingleCertificatesAcme /// /// /// ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleCertificatesAcmeWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleCertificatesInfo /// /// /// Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCertificatesInfo200Response GetNodesSingleCertificatesInfo200Response GetNodesSingleCertificatesInfo(string node, int operationIndex = 0); /// /// getNodesSingleCertificatesInfo /// /// /// Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCertificatesInfo200Response ApiResponse GetNodesSingleCertificatesInfoWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleConfig /// /// /// Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleConfig200Response GetNodesSingleConfig200Response GetNodesSingleConfig(string node, int operationIndex = 0); /// /// getNodesSingleConfig /// /// /// Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleConfig200Response ApiResponse GetNodesSingleConfigWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisks /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleDisks(string node, int operationIndex = 0); /// /// getNodesSingleDisks /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleDisksWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksDirectory /// /// /// PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksDirectory200Response GetNodesSingleDisksDirectory200Response GetNodesSingleDisksDirectory(string node, int operationIndex = 0); /// /// getNodesSingleDisksDirectory /// /// /// PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksDirectory200Response ApiResponse GetNodesSingleDisksDirectoryWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksList /// /// /// List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksList200Response GetNodesSingleDisksList200Response GetNodesSingleDisksList(string node, int operationIndex = 0); /// /// getNodesSingleDisksList /// /// /// List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksList200Response ApiResponse GetNodesSingleDisksListWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksLvm /// /// /// List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksLvm200Response GetNodesSingleDisksLvm200Response GetNodesSingleDisksLvm(string node, int operationIndex = 0); /// /// getNodesSingleDisksLvm /// /// /// List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksLvm200Response ApiResponse GetNodesSingleDisksLvmWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksLvmthin /// /// /// List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksLvmthin200Response GetNodesSingleDisksLvmthin200Response GetNodesSingleDisksLvmthin(string node, int operationIndex = 0); /// /// getNodesSingleDisksLvmthin /// /// /// List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksLvmthin200Response ApiResponse GetNodesSingleDisksLvmthinWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksSmart /// /// /// Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksSmart200Response GetNodesSingleDisksSmart200Response GetNodesSingleDisksSmart(string node, int operationIndex = 0); /// /// getNodesSingleDisksSmart /// /// /// Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksSmart200Response ApiResponse GetNodesSingleDisksSmartWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksZfs /// /// /// List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksZfs200Response GetNodesSingleDisksZfs200Response GetNodesSingleDisksZfs(string node, int operationIndex = 0); /// /// getNodesSingleDisksZfs /// /// /// List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksZfs200Response ApiResponse GetNodesSingleDisksZfsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleDisksZfsSingle /// /// /// Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// GetNodesSingleDisksZfsSingle200Response GetNodesSingleDisksZfsSingle200Response GetNodesSingleDisksZfsSingle(string name, string node, int operationIndex = 0); /// /// getNodesSingleDisksZfsSingle /// /// /// Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksZfsSingle200Response ApiResponse GetNodesSingleDisksZfsSingleWithHttpInfo(string name, string node, int operationIndex = 0); /// /// getNodesSingleDns /// /// /// Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDns200Response GetNodesSingleDns200Response GetNodesSingleDns(string node, int operationIndex = 0); /// /// getNodesSingleDns /// /// /// Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDns200Response ApiResponse GetNodesSingleDnsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleFirewallLog(string node, int operationIndex = 0); /// /// getNodesSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodesSingleFirewallLogWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleHardware /// /// /// Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHardware200Response GetNodesSingleHardware200Response GetNodesSingleHardware(string node, int operationIndex = 0); /// /// getNodesSingleHardware /// /// /// Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardware200Response ApiResponse GetNodesSingleHardwareWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleHardwarePci /// /// /// List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHardwarePci200Response GetNodesSingleHardwarePci200Response GetNodesSingleHardwarePci(string node, int operationIndex = 0); /// /// getNodesSingleHardwarePci /// /// /// List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardwarePci200Response ApiResponse GetNodesSingleHardwarePciWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleHardwarePciSingle /// /// /// Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// GetNodesSingleScan200Response GetNodesSingleScan200Response GetNodesSingleHardwarePciSingle(string node, string pciIdOrMapping, int operationIndex = 0); /// /// getNodesSingleHardwarePciSingle /// /// /// Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// ApiResponse of GetNodesSingleScan200Response ApiResponse GetNodesSingleHardwarePciSingleWithHttpInfo(string node, string pciIdOrMapping, int operationIndex = 0); /// /// getNodesSingleHardwarePciSingleMdev /// /// /// List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// GetNodesSingleHardwarePciSingleMdev200Response GetNodesSingleHardwarePciSingleMdev200Response GetNodesSingleHardwarePciSingleMdev(string node, string pciIdOrMapping, int operationIndex = 0); /// /// getNodesSingleHardwarePciSingleMdev /// /// /// List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardwarePciSingleMdev200Response ApiResponse GetNodesSingleHardwarePciSingleMdevWithHttpInfo(string node, string pciIdOrMapping, int operationIndex = 0); /// /// getNodesSingleHardwareUsb /// /// /// List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHardwareUsb200Response GetNodesSingleHardwareUsb200Response GetNodesSingleHardwareUsb(string node, int operationIndex = 0); /// /// getNodesSingleHardwareUsb /// /// /// List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardwareUsb200Response ApiResponse GetNodesSingleHardwareUsbWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleHosts /// /// /// Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHosts200Response GetNodesSingleHosts200Response GetNodesSingleHosts(string node, int operationIndex = 0); /// /// getNodesSingleHosts /// /// /// Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHosts200Response ApiResponse GetNodesSingleHostsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleJournal /// /// /// Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleJournal200Response GetNodesSingleJournal200Response GetNodesSingleJournal(string node, int operationIndex = 0); /// /// getNodesSingleJournal /// /// /// Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleJournal200Response ApiResponse GetNodesSingleJournalWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleLxc /// /// /// LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleLxc200Response GetNodesSingleLxc200Response GetNodesSingleLxc(string node, int operationIndex = 0); /// /// getNodesSingleLxc /// /// /// LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxc200Response ApiResponse GetNodesSingleLxcWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleLxcSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodesSingleLxcSingle(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodesSingleLxcSingleWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleConfig /// /// /// Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleConfig200Response GetNodesSingleLxcSingleConfig200Response GetNodesSingleLxcSingleConfig(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleConfig /// /// /// Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleConfig200Response ApiResponse GetNodesSingleLxcSingleConfigWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleFeature200Response GetNodesSingleLxcSingleFeature200Response GetNodesSingleLxcSingleFeature(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleFeature200Response ApiResponse GetNodesSingleLxcSingleFeatureWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleLxcSingleFirewall(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleLxcSingleFirewallWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallAliases200Response GetClusterFirewallAliases200Response GetNodesSingleLxcSingleFirewallAliases(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallAliases200Response ApiResponse GetNodesSingleLxcSingleFirewallAliasesWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleLxcSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallIpset /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSets200Response GetClusterFirewallIPSets200Response GetNodesSingleLxcSingleFirewallIpset(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallIpset /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSets200Response ApiResponse GetNodesSingleLxcSingleFirewallIpsetWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallIpsetSingle /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSet200Response GetClusterFirewallIPSet200Response GetNodesSingleLxcSingleFirewallIpsetSingle(string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallIpsetSingle /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSet200Response ApiResponse GetNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleLxcSingleFirewallIpsetSingleSingle(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleLxcSingleFirewallLog(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodesSingleLxcSingleFirewallLogWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMFirewallOptions200Response GetVMFirewallOptions200Response GetNodesSingleLxcSingleFirewallOptions(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMFirewallOptions200Response ApiResponse GetNodesSingleLxcSingleFirewallOptionsWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallRefs200Response GetClusterFirewallRefs200Response GetNodesSingleLxcSingleFirewallRefs(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallRefs200Response ApiResponse GetNodesSingleLxcSingleFirewallRefsWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules200Response GetNodesSingleLxcSingleFirewallRules(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response ApiResponse GetNodesSingleLxcSingleFirewallRulesWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule200Response GetNodesSingleLxcSingleFirewallRulesSingle(string node, int pos, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response ApiResponse GetNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleInterfaces /// /// /// Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleInterfaces200Response GetNodesSingleLxcSingleInterfaces200Response GetNodesSingleLxcSingleInterfaces(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleInterfaces /// /// /// Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleInterfaces200Response ApiResponse GetNodesSingleLxcSingleInterfacesWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleMigrate /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleMigrate200Response GetNodesSingleLxcSingleMigrate200Response GetNodesSingleLxcSingleMigrate(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleMigrate /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleMigrate200Response ApiResponse GetNodesSingleLxcSingleMigrateWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleMtunnelwebsocket200Response GetNodesSingleQemuSingleMtunnelwebsocket200Response GetNodesSingleLxcSingleMtunnelwebsocket(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleMtunnelwebsocket200Response ApiResponse GetNodesSingleLxcSingleMtunnelwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSinglePending /// /// /// Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSinglePending200Response GetNodesSingleLxcSinglePending200Response GetNodesSingleLxcSinglePending(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSinglePending /// /// /// Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSinglePending200Response ApiResponse GetNodesSingleLxcSinglePendingWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleRrd /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMRRD200Response GetVMRRD200Response GetNodesSingleLxcSingleRrd(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleRrd /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response ApiResponse GetNodesSingleLxcSingleRrdWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleRrddata /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleLxcSingleRrddata(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleRrddata /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleLxcSingleRrddataWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleSnapshot /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleSnapshot200Response GetNodesSingleLxcSingleSnapshot200Response GetNodesSingleLxcSingleSnapshot(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleSnapshot /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleSnapshot200Response ApiResponse GetNodesSingleLxcSingleSnapshotWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleSnapshotSingle /// /// /// getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleLxcSingleSnapshotSingle(string node, string snapname, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleSnapshotSingle /// /// /// getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleLxcSingleSnapshotSingleWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleLxcSingleSnapshotSingleConfig(string node, string snapname, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodesSingleLxcSingleStatus(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodesSingleLxcSingleStatusWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleStatusCurrent /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleStatusCurrent200Response GetNodesSingleLxcSingleStatusCurrent200Response GetNodesSingleLxcSingleStatusCurrent(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleStatusCurrent /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleStatusCurrent200Response ApiResponse GetNodesSingleLxcSingleStatusCurrentWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleLxcSingleVncwebsocket(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleLxcSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleVncwebsocket200Response ApiResponse GetNodesSingleLxcSingleVncwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleNetstat /// /// /// Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleNetstat(string node, int operationIndex = 0); /// /// getNodesSingleNetstat /// /// /// Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleNetstatWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleNetwork /// /// /// List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleNetwork200Response GetNodesSingleNetwork200Response GetNodesSingleNetwork(string node, int operationIndex = 0); /// /// getNodesSingleNetwork /// /// /// List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleNetwork200Response ApiResponse GetNodesSingleNetworkWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleNetworkSingle /// /// /// Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// GetNodesSingleNetworkSingle200Response GetNodesSingleNetworkSingle200Response GetNodesSingleNetworkSingle(string iface, string node, int operationIndex = 0); /// /// getNodesSingleNetworkSingle /// /// /// Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleNetworkSingle200Response ApiResponse GetNodesSingleNetworkSingleWithHttpInfo(string iface, string node, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgent /// /// /// QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgent(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgent /// /// /// QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentExecstatus /// /// /// Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleAgentExecstatus200Response GetNodesSingleQemuSingleAgentExecstatus200Response GetNodesSingleQemuSingleAgentExecstatus(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentExecstatus /// /// /// Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleAgentExecstatus200Response ApiResponse GetNodesSingleQemuSingleAgentExecstatusWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentFileread /// /// /// Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleAgentFileread200Response GetNodesSingleQemuSingleAgentFileread200Response GetNodesSingleQemuSingleAgentFileread(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentFileread /// /// /// Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleAgentFileread200Response ApiResponse GetNodesSingleQemuSingleAgentFilereadWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetfsinfo /// /// /// Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetfsinfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetfsinfo /// /// /// Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGetfsinfoWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGethostname /// /// /// Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGethostname(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGethostname /// /// /// Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGethostnameWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo /// /// /// Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetmemoryblockinfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo /// /// /// Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGetmemoryblockinfoWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetmemoryblocks /// /// /// Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetmemoryblocks(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetmemoryblocks /// /// /// Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGetmemoryblocksWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetosinfo /// /// /// Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetosinfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetosinfo /// /// /// Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGetosinfoWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGettime /// /// /// Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGettime(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGettime /// /// /// Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGettimeWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGettimezone /// /// /// Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGettimezone(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGettimezone /// /// /// Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGettimezoneWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetusers /// /// /// Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetusers(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetusers /// /// /// Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGetusersWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetvcpus /// /// /// Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetvcpus(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentGetvcpus /// /// /// Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentGetvcpusWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentInfo /// /// /// Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentInfo /// /// /// Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentInfoWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces /// /// /// Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentNetworkgetinterfaces(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces /// /// /// Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response ApiResponse GetNodesSingleQemuSingleAgentNetworkgetinterfacesWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleCloudinit /// /// /// Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleCloudinit200Response GetNodesSingleQemuSingleCloudinit200Response GetNodesSingleQemuSingleCloudinit(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleCloudinit /// /// /// Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleCloudinit200Response ApiResponse GetNodesSingleQemuSingleCloudinitWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleCloudinitDump /// /// /// Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetNodesSingleQemuSingleCloudinitDump(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleCloudinitDump /// /// /// Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetNodesSingleQemuSingleCloudinitDumpWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleFeature200Response GetNodesSingleQemuSingleFeature200Response GetNodesSingleQemuSingleFeature(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFeature200Response ApiResponse GetNodesSingleQemuSingleFeatureWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallAliases200Response GetClusterFirewallAliases200Response GetNodesSingleQemuSingleFirewallAliases(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallAliases200Response ApiResponse GetNodesSingleQemuSingleFirewallAliasesWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleQemuSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodesSingleQemuSingleFirewallLogWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallRefs200Response GetClusterFirewallRefs200Response GetNodesSingleQemuSingleFirewallRefs(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallRefs200Response ApiResponse GetNodesSingleQemuSingleFirewallRefsWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleMtunnelwebsocket200Response GetNodesSingleQemuSingleMtunnelwebsocket200Response GetNodesSingleQemuSingleMtunnelwebsocket(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleMtunnelwebsocket200Response ApiResponse GetNodesSingleQemuSingleMtunnelwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleQemuSingleVncwebsocket(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQemuSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleVncwebsocket200Response ApiResponse GetNodesSingleQemuSingleVncwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getNodesSingleQueryocirepotags /// /// /// List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleJournal200Response GetNodesSingleJournal200Response GetNodesSingleQueryocirepotags(string node, int operationIndex = 0); /// /// getNodesSingleQueryocirepotags /// /// /// List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleJournal200Response ApiResponse GetNodesSingleQueryocirepotagsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleQueryurlmetadata /// /// /// Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQueryurlmetadata200Response GetNodesSingleQueryurlmetadata200Response GetNodesSingleQueryurlmetadata(string node, int operationIndex = 0); /// /// getNodesSingleQueryurlmetadata /// /// /// Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQueryurlmetadata200Response ApiResponse GetNodesSingleQueryurlmetadataWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleReplication /// /// /// List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterHa200Response GetClusterHa200Response GetNodesSingleReplication(string node, int operationIndex = 0); /// /// getNodesSingleReplication /// /// /// List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response ApiResponse GetNodesSingleReplicationWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleReplicationSingle /// /// /// Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleReplicationSingle(string id, string node, int operationIndex = 0); /// /// getNodesSingleReplicationSingle /// /// /// Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleReplicationSingleWithHttpInfo(string id, string node, int operationIndex = 0); /// /// getNodesSingleReplicationSingleLog /// /// /// Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleReplicationSingleLog(string id, string node, int operationIndex = 0); /// /// getNodesSingleReplicationSingleLog /// /// /// Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodesSingleReplicationSingleLogWithHttpInfo(string id, string node, int operationIndex = 0); /// /// getNodesSingleReplicationSingleStatus /// /// /// Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetNodesSingleReplicationSingleStatus(string id, string node, int operationIndex = 0); /// /// getNodesSingleReplicationSingleStatus /// /// /// Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetNodesSingleReplicationSingleStatusWithHttpInfo(string id, string node, int operationIndex = 0); /// /// getNodesSingleReport /// /// /// Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetNodesSingleReport(string node, int operationIndex = 0); /// /// getNodesSingleReport /// /// /// Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetNodesSingleReportWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScan /// /// /// Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScan200Response GetNodesSingleScan200Response GetNodesSingleScan(string node, int operationIndex = 0); /// /// getNodesSingleScan /// /// /// Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScan200Response ApiResponse GetNodesSingleScanWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanCifs /// /// /// Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanCifs200Response GetNodesSingleScanCifs200Response GetNodesSingleScanCifs(string node, int operationIndex = 0); /// /// getNodesSingleScanCifs /// /// /// Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanCifs200Response ApiResponse GetNodesSingleScanCifsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanIscsi /// /// /// Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanIscsi200Response GetNodesSingleScanIscsi200Response GetNodesSingleScanIscsi(string node, int operationIndex = 0); /// /// getNodesSingleScanIscsi /// /// /// Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanIscsi200Response ApiResponse GetNodesSingleScanIscsiWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanLvm /// /// /// List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanLvm200Response GetNodesSingleScanLvm200Response GetNodesSingleScanLvm(string node, int operationIndex = 0); /// /// getNodesSingleScanLvm /// /// /// List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanLvm200Response ApiResponse GetNodesSingleScanLvmWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanLvmthin /// /// /// List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanLvmthin200Response GetNodesSingleScanLvmthin200Response GetNodesSingleScanLvmthin(string node, int operationIndex = 0); /// /// getNodesSingleScanLvmthin /// /// /// List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanLvmthin200Response ApiResponse GetNodesSingleScanLvmthinWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanNfs /// /// /// Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanNfs200Response GetNodesSingleScanNfs200Response GetNodesSingleScanNfs(string node, int operationIndex = 0); /// /// getNodesSingleScanNfs /// /// /// Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanNfs200Response ApiResponse GetNodesSingleScanNfsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanPbs /// /// /// Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanPbs200Response GetNodesSingleScanPbs200Response GetNodesSingleScanPbs(string node, int operationIndex = 0); /// /// getNodesSingleScanPbs /// /// /// Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanPbs200Response ApiResponse GetNodesSingleScanPbsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleScanZfs /// /// /// Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanZfs200Response GetNodesSingleScanZfs200Response GetNodesSingleScanZfs(string node, int operationIndex = 0); /// /// getNodesSingleScanZfs /// /// /// Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanZfs200Response ApiResponse GetNodesSingleScanZfsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingle /// /// /// Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodesSingleSdnFabricsSingle(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingle /// /// /// Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodesSingleSdnFabricsSingleWithHttpInfo(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingleInterfaces /// /// /// Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetNodesSingleSdnFabricsSingleInterfaces200Response GetNodesSingleSdnFabricsSingleInterfaces200Response GetNodesSingleSdnFabricsSingleInterfaces(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingleInterfaces /// /// /// Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnFabricsSingleInterfaces200Response ApiResponse GetNodesSingleSdnFabricsSingleInterfacesWithHttpInfo(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingleNeighbors /// /// /// Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetNodesSingleSdnFabricsSingleNeighbors200Response GetNodesSingleSdnFabricsSingleNeighbors200Response GetNodesSingleSdnFabricsSingleNeighbors(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingleNeighbors /// /// /// Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnFabricsSingleNeighbors200Response ApiResponse GetNodesSingleSdnFabricsSingleNeighborsWithHttpInfo(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingleRoutes /// /// /// Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetNodesSingleSdnFabricsSingleRoutes200Response GetNodesSingleSdnFabricsSingleRoutes200Response GetNodesSingleSdnFabricsSingleRoutes(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnFabricsSingleRoutes /// /// /// Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnFabricsSingleRoutes200Response ApiResponse GetNodesSingleSdnFabricsSingleRoutesWithHttpInfo(string fabric, string node, int operationIndex = 0); /// /// getNodesSingleSdnVnetsSingle /// /// /// getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodesSingleSdnVnetsSingle(string node, string vnet, int operationIndex = 0); /// /// getNodesSingleSdnVnetsSingle /// /// /// getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodesSingleSdnVnetsSingleWithHttpInfo(string node, string vnet, int operationIndex = 0); /// /// getNodesSingleSdnVnetsSingleMacvrf /// /// /// Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// GetNodesSingleSdnVnetsSingleMacvrf200Response GetNodesSingleSdnVnetsSingleMacvrf200Response GetNodesSingleSdnVnetsSingleMacvrf(string node, string vnet, int operationIndex = 0); /// /// getNodesSingleSdnVnetsSingleMacvrf /// /// /// Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnVnetsSingleMacvrf200Response ApiResponse GetNodesSingleSdnVnetsSingleMacvrfWithHttpInfo(string node, string vnet, int operationIndex = 0); /// /// getNodesSingleSdnZonesSingleBridges /// /// /// Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetNodesSingleSdnZonesSingleBridges200Response GetNodesSingleSdnZonesSingleBridges200Response GetNodesSingleSdnZonesSingleBridges(string node, string zone, int operationIndex = 0); /// /// getNodesSingleSdnZonesSingleBridges /// /// /// Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnZonesSingleBridges200Response ApiResponse GetNodesSingleSdnZonesSingleBridgesWithHttpInfo(string node, string zone, int operationIndex = 0); /// /// getNodesSingleSdnZonesSingleIpvrf /// /// /// Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetNodesSingleSdnZonesSingleIpvrf200Response GetNodesSingleSdnZonesSingleIpvrf200Response GetNodesSingleSdnZonesSingleIpvrf(string node, string zone, int operationIndex = 0); /// /// getNodesSingleSdnZonesSingleIpvrf /// /// /// Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnZonesSingleIpvrf200Response ApiResponse GetNodesSingleSdnZonesSingleIpvrfWithHttpInfo(string node, string zone, int operationIndex = 0); /// /// getNodesSingleServices /// /// /// Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleServices200Response GetNodesSingleServices200Response GetNodesSingleServices(string node, int operationIndex = 0); /// /// getNodesSingleServices /// /// /// Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleServices200Response ApiResponse GetNodesSingleServicesWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleServicesSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodesSingleServicesSingle(string node, string service, int operationIndex = 0); /// /// getNodesSingleServicesSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodesSingleServicesSingleWithHttpInfo(string node, string service, int operationIndex = 0); /// /// getNodesSingleServicesSingleState /// /// /// Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// GetNodesSingleServicesSingleState200Response GetNodesSingleServicesSingleState200Response GetNodesSingleServicesSingleState(string node, string service, int operationIndex = 0); /// /// getNodesSingleServicesSingleState /// /// /// Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// ApiResponse of GetNodesSingleServicesSingleState200Response ApiResponse GetNodesSingleServicesSingleStateWithHttpInfo(string node, string service, int operationIndex = 0); /// /// getNodesSingleStatus /// /// /// Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleStatus200Response GetNodesSingleStatus200Response GetNodesSingleStatus(string node, int operationIndex = 0); /// /// getNodesSingleStatus /// /// /// Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleStatus200Response ApiResponse GetNodesSingleStatusWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleStorage /// /// /// Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleStorage200Response GetNodesSingleStorage200Response GetNodesSingleStorage(string node, int operationIndex = 0); /// /// getNodesSingleStorage /// /// /// Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorage200Response ApiResponse GetNodesSingleStorageWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleStorageSingle /// /// /// getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetNodesSingleStorageSingle(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingle /// /// /// getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetNodesSingleStorageSingleWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleContent /// /// /// List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleContent200Response GetNodesSingleStorageSingleContent200Response GetNodesSingleStorageSingleContent(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleContent /// /// /// List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleContent200Response ApiResponse GetNodesSingleStorageSingleContentWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleContentSingle /// /// /// Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// GetNodesSingleStorageSingleContentSingle200Response GetNodesSingleStorageSingleContentSingle200Response GetNodesSingleStorageSingleContentSingle(string node, string storage, string volume, int operationIndex = 0); /// /// getNodesSingleStorageSingleContentSingle /// /// /// Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleContentSingle200Response ApiResponse GetNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, int operationIndex = 0); /// /// getNodesSingleStorageSingleFilerestoreDownload /// /// /// Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleFilerestoreDownload200Response GetNodesSingleStorageSingleFilerestoreDownload200Response GetNodesSingleStorageSingleFilerestoreDownload(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleFilerestoreDownload /// /// /// Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleFilerestoreDownload200Response ApiResponse GetNodesSingleStorageSingleFilerestoreDownloadWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleFilerestoreList /// /// /// List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleFilerestoreList200Response GetNodesSingleStorageSingleFilerestoreList200Response GetNodesSingleStorageSingleFilerestoreList(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleFilerestoreList /// /// /// List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleFilerestoreList200Response ApiResponse GetNodesSingleStorageSingleFilerestoreListWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleImportmetadata /// /// /// Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleImportmetadata200Response GetNodesSingleStorageSingleImportmetadata200Response GetNodesSingleStorageSingleImportmetadata(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleImportmetadata /// /// /// Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleImportmetadata200Response ApiResponse GetNodesSingleStorageSingleImportmetadataWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSinglePrunebackups /// /// /// Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSinglePrunebackups200Response GetNodesSingleStorageSinglePrunebackups200Response GetNodesSingleStorageSinglePrunebackups(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSinglePrunebackups /// /// /// Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSinglePrunebackups200Response ApiResponse GetNodesSingleStorageSinglePrunebackupsWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleRrd /// /// /// Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetVMRRD200Response GetVMRRD200Response GetNodesSingleStorageSingleRrd(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleRrd /// /// /// Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response ApiResponse GetNodesSingleStorageSingleRrdWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleRrddata /// /// /// Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetNodesSingleStorageSingleRrddata(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleRrddata /// /// /// Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetNodesSingleStorageSingleRrddataWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleStatus /// /// /// Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleStatus200Response GetNodesSingleStorageSingleStatus200Response GetNodesSingleStorageSingleStatus(string node, string storage, int operationIndex = 0); /// /// getNodesSingleStorageSingleStatus /// /// /// Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleStatus200Response ApiResponse GetNodesSingleStorageSingleStatusWithHttpInfo(string node, string storage, int operationIndex = 0); /// /// getNodesSingleSubscription /// /// /// Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleSubscription200Response GetNodesSingleSubscription200Response GetNodesSingleSubscription(string node, int operationIndex = 0); /// /// getNodesSingleSubscription /// /// /// Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSubscription200Response ApiResponse GetNodesSingleSubscriptionWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleSyslog /// /// /// Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleSyslog(string node, int operationIndex = 0); /// /// getNodesSingleSyslog /// /// /// Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response ApiResponse GetNodesSingleSyslogWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleTime /// /// /// Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleTime200Response GetNodesSingleTime200Response GetNodesSingleTime(string node, int operationIndex = 0); /// /// getNodesSingleTime /// /// /// Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleTime200Response ApiResponse GetNodesSingleTimeWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleVersion /// /// /// API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleVersion200Response GetNodesSingleVersion200Response GetNodesSingleVersion(string node, int operationIndex = 0); /// /// getNodesSingleVersion /// /// /// API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleVersion200Response ApiResponse GetNodesSingleVersionWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleVncwebsocket(string node, int operationIndex = 0); /// /// getNodesSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleVncwebsocket200Response ApiResponse GetNodesSingleVncwebsocketWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleVzdumpDefaults /// /// /// Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleVzdumpDefaults200Response GetNodesSingleVzdumpDefaults200Response GetNodesSingleVzdumpDefaults(string node, int operationIndex = 0); /// /// getNodesSingleVzdumpDefaults /// /// /// Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleVzdumpDefaults200Response ApiResponse GetNodesSingleVzdumpDefaultsWithHttpInfo(string node, int operationIndex = 0); /// /// getNodesSingleVzdumpExtractconfig /// /// /// Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response GetNodesSingleVzdumpExtractconfig(string node, int operationIndex = 0); /// /// getNodesSingleVzdumpExtractconfig /// /// /// Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse GetNodesSingleVzdumpExtractconfigWithHttpInfo(string node, int operationIndex = 0); /// /// getPool /// /// /// Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// GetPool200Response GetPool200Response GetPool(string poolid, int operationIndex = 0); /// /// getPool /// /// /// Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// ApiResponse of GetPool200Response ApiResponse GetPoolWithHttpInfo(string poolid, int operationIndex = 0); /// /// getPools /// /// /// List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetPools200Response GetPools200Response GetPools(int operationIndex = 0); /// /// getPools /// /// /// List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetPools200Response ApiResponse GetPoolsWithHttpInfo(int operationIndex = 0); /// /// getStorage /// /// /// Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetStorage200Response GetStorage200Response GetStorage(int operationIndex = 0); /// /// getStorage /// /// /// Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetStorage200Response ApiResponse GetStorageWithHttpInfo(int operationIndex = 0); /// /// getStorageSingle /// /// /// Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetStorageSingle(string storage, int operationIndex = 0); /// /// getStorageSingle /// /// /// Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetStorageSingleWithHttpInfo(string storage, int operationIndex = 0); /// /// getVM /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetVM(string node, int vmid, int operationIndex = 0); /// /// getVM /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetVMWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMConfig /// /// /// Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMConfig200Response GetVMConfig200Response GetVMConfig(string node, int vmid, int operationIndex = 0); /// /// getVMConfig /// /// /// Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMConfig200Response ApiResponse GetVMConfigWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMConfigPending /// /// /// Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMConfigPending200Response GetVMConfigPending200Response GetVMConfigPending(string node, int vmid, int operationIndex = 0); /// /// getVMConfigPending /// /// /// Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMConfigPending200Response ApiResponse GetVMConfigPendingWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetVMFirewall(string node, int vmid, int operationIndex = 0); /// /// getVMFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetVMFirewallWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSet200Response GetClusterFirewallIPSet200Response GetVMFirewallIPSet(string name, string node, int vmid, int operationIndex = 0); /// /// getVMFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSet200Response ApiResponse GetVMFirewallIPSetWithHttpInfo(string name, string node, int vmid, int operationIndex = 0); /// /// getVMFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetVMFirewallIPSetIP(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// getVMFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetVMFirewallIPSetIPWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// getVMFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSets200Response GetClusterFirewallIPSets200Response GetVMFirewallIPSets(string node, int vmid, int operationIndex = 0); /// /// getVMFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSets200Response ApiResponse GetVMFirewallIPSetsWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMFirewallOptions200Response GetVMFirewallOptions200Response GetVMFirewallOptions(string node, int vmid, int operationIndex = 0); /// /// getVMFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMFirewallOptions200Response ApiResponse GetVMFirewallOptionsWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule200Response GetVMFirewallRule(string node, int pos, int vmid, int operationIndex = 0); /// /// getVMFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response ApiResponse GetVMFirewallRuleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0); /// /// getVMFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules200Response GetVMFirewallRules(string node, int vmid, int operationIndex = 0); /// /// getVMFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response ApiResponse GetVMFirewallRulesWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMRRD /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMRRD200Response GetVMRRD200Response GetVMRRD(string node, int vmid, int operationIndex = 0); /// /// getVMRRD /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response ApiResponse GetVMRRDWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMRRDData /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetVMRRDData(string node, int vmid, int operationIndex = 0); /// /// getVMRRDData /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetVMRRDDataWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMSnapshot /// /// /// getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetCluster200Response GetCluster200Response GetVMSnapshot(string node, string snapname, int vmid, int operationIndex = 0); /// /// getVMSnapshot /// /// /// getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response ApiResponse GetVMSnapshotWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0); /// /// getVMSnapshotConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle200Response GetVMSnapshotConfig(string node, string snapname, int vmid, int operationIndex = 0); /// /// getVMSnapshotConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response ApiResponse GetVMSnapshotConfigWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0); /// /// getVMSnapshots /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMSnapshots200Response GetVMSnapshots200Response GetVMSnapshots(string node, int vmid, int operationIndex = 0); /// /// getVMSnapshots /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMSnapshots200Response ApiResponse GetVMSnapshotsWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response GetClusterSdnFabrics200Response GetVMStatus(string node, int vmid, int operationIndex = 0); /// /// getVMStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response ApiResponse GetVMStatusWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// getVMs /// /// /// Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetVMs200Response GetVMs200Response GetVMs(string node, int operationIndex = 0); /// /// getVMs /// /// /// Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetVMs200Response ApiResponse GetVMsWithHttpInfo(string node, int operationIndex = 0); /// /// getVersion /// /// /// API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetVersion200Response GetVersion200Response GetVersion(int operationIndex = 0); /// /// getVersion /// /// /// API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetVersion200Response ApiResponse GetVersionWithHttpInfo(int operationIndex = 0); /// /// migrateVM /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// MigrateVM200Response MigrateVM200Response MigrateVM(string node, int vmid, int operationIndex = 0); /// /// migrateVM /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of MigrateVM200Response ApiResponse MigrateVMWithHttpInfo(string node, int vmid, int operationIndex = 0); /// /// rebootVM /// /// /// Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response RebootVM(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0); /// /// rebootVM /// /// /// Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse RebootVMWithHttpInfo(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0); /// /// removeClusterFirewallGroupRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response RemoveClusterFirewallGroupRule(string group, int pos, int operationIndex = 0); /// /// removeClusterFirewallGroupRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse RemoveClusterFirewallGroupRuleWithHttpInfo(string group, int pos, int operationIndex = 0); /// /// removeClusterFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response RemoveClusterFirewallIPSetIP(string cidr, string name, int operationIndex = 0); /// /// removeClusterFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse RemoveClusterFirewallIPSetIPWithHttpInfo(string cidr, string name, int operationIndex = 0); /// /// removeClusterFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response RemoveClusterFirewallRule(int pos, int operationIndex = 0); /// /// removeClusterFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse RemoveClusterFirewallRuleWithHttpInfo(int pos, int operationIndex = 0); /// /// removeVMFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response RemoveVMFirewallIPSetIP(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// removeVMFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse RemoveVMFirewallIPSetIPWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0); /// /// resetVM /// /// /// Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response ResetVM(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0); /// /// resetVM /// /// /// Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse ResetVMWithHttpInfo(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0); /// /// resizeVMDisk /// /// /// Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response ResizeVMDisk(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0); /// /// resizeVMDisk /// /// /// Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse ResizeVMDiskWithHttpInfo(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0); /// /// resumeVM /// /// /// Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response ResumeVM(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0); /// /// resumeVM /// /// /// Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse ResumeVMWithHttpInfo(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0); /// /// rollbackVMSnapshot /// /// /// Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response RollbackVMSnapshot(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0); /// /// rollbackVMSnapshot /// /// /// Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse RollbackVMSnapshotWithHttpInfo(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0); /// /// shutdownVM /// /// /// Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response ShutdownVM(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0); /// /// shutdownVM /// /// /// Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse ShutdownVMWithHttpInfo(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0); /// /// startVM /// /// /// Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response StartVM(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0); /// /// startVM /// /// /// Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse StartVMWithHttpInfo(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0); /// /// stopNodeTask /// /// /// Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response StopNodeTask(string node, string upid, int operationIndex = 0); /// /// stopNodeTask /// /// /// Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse StopNodeTaskWithHttpInfo(string node, string upid, int operationIndex = 0); /// /// stopVM /// /// /// Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response StopVM(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0); /// /// stopVM /// /// /// Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse StopVMWithHttpInfo(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0); /// /// suspendVM /// /// /// Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response SuspendVM(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0); /// /// suspendVM /// /// /// Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse SuspendVMWithHttpInfo(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0); /// /// unlinkVMDiskImages /// /// /// Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UnlinkVMDiskImages(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0); /// /// unlinkVMDiskImages /// /// /// Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UnlinkVMDiskImagesWithHttpInfo(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0); /// /// updateAccessAcl /// /// /// Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessAcl(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0); /// /// updateAccessAcl /// /// /// Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessAclWithHttpInfo(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0); /// /// updateAccessDomainsSingle /// /// /// Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessDomainsSingle(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0); /// /// updateAccessDomainsSingle /// /// /// Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessDomainsSingleWithHttpInfo(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0); /// /// updateAccessGroupsSingle /// /// /// Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessGroupsSingle(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0); /// /// updateAccessGroupsSingle /// /// /// Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessGroupsSingleWithHttpInfo(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0); /// /// updateAccessPassword /// /// /// Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessPassword(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0); /// /// updateAccessPassword /// /// /// Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessPasswordWithHttpInfo(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0); /// /// updateAccessRolesSingle /// /// /// Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessRolesSingle(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0); /// /// updateAccessRolesSingle /// /// /// Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessRolesSingleWithHttpInfo(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0); /// /// updateAccessTfaSingleSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessTfaSingleSingle(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0); /// /// updateAccessTfaSingleSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessTfaSingleSingleWithHttpInfo(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0); /// /// updateAccessUsersSingle /// /// /// Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateAccessUsersSingle(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0); /// /// updateAccessUsersSingle /// /// /// Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateAccessUsersSingleWithHttpInfo(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0); /// /// updateAccessUsersSingleTokenSingle /// /// /// Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// UpdateAccessUsersSingleTokenSingle200Response UpdateAccessUsersSingleTokenSingle200Response UpdateAccessUsersSingleTokenSingle(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0); /// /// updateAccessUsersSingleTokenSingle /// /// /// Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of UpdateAccessUsersSingleTokenSingle200Response ApiResponse UpdateAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0); /// /// updateAccessUsersSingleUnlocktfa /// /// /// Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// GetClusterCephFlagsSingle200Response GetClusterCephFlagsSingle200Response UpdateAccessUsersSingleUnlocktfa(string userid, Object? body = default(Object?), int operationIndex = 0); /// /// updateAccessUsersSingleUnlocktfa /// /// /// Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of GetClusterCephFlagsSingle200Response ApiResponse UpdateAccessUsersSingleUnlocktfaWithHttpInfo(string userid, Object? body = default(Object?), int operationIndex = 0); /// /// updateClusterAcmeAccountSingle /// /// /// Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterAcmeAccountSingle(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0); /// /// updateClusterAcmeAccountSingle /// /// /// Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterAcmeAccountSingleWithHttpInfo(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0); /// /// updateClusterAcmePluginsSingle /// /// /// Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterAcmePluginsSingle(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0); /// /// updateClusterAcmePluginsSingle /// /// /// Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterAcmePluginsSingleWithHttpInfo(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0); /// /// updateClusterBackupSingle /// /// /// Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterBackupSingle(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0); /// /// updateClusterBackupSingle /// /// /// Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterBackupSingleWithHttpInfo(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0); /// /// updateClusterCephFlags /// /// /// Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterCephFlags(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0); /// /// updateClusterCephFlags /// /// /// Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterCephFlagsWithHttpInfo(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0); /// /// updateClusterCephFlagsSingle /// /// /// Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterCephFlagsSingle(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0); /// /// updateClusterCephFlagsSingle /// /// /// Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterCephFlagsSingleWithHttpInfo(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0); /// /// updateClusterFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterFirewallAliasesSingle(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0); /// /// updateClusterFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterFirewallAliasesSingleWithHttpInfo(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0); /// /// updateClusterFirewallGroupRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterFirewallGroupRule(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0); /// /// updateClusterFirewallGroupRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterFirewallGroupRuleWithHttpInfo(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0); /// /// updateClusterFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterFirewallIPSetIP(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0); /// /// updateClusterFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterFirewallIPSetIPWithHttpInfo(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0); /// /// updateClusterFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterFirewallOptions(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0); /// /// updateClusterFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterFirewallOptionsWithHttpInfo(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0); /// /// updateClusterFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterFirewallRule(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0); /// /// updateClusterFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterFirewallRuleWithHttpInfo(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0); /// /// updateClusterHaGroupsSingle /// /// /// Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterHaGroupsSingle(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0); /// /// updateClusterHaGroupsSingle /// /// /// Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterHaGroupsSingleWithHttpInfo(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0); /// /// updateClusterHaResourcesSingle /// /// /// Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterHaResourcesSingle(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0); /// /// updateClusterHaResourcesSingle /// /// /// Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterHaResourcesSingleWithHttpInfo(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0); /// /// updateClusterHaRulesSingle /// /// /// Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterHaRulesSingle(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0); /// /// updateClusterHaRulesSingle /// /// /// Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterHaRulesSingleWithHttpInfo(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0); /// /// updateClusterJobsRealmsyncSingle /// /// /// Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterJobsRealmsyncSingle(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0); /// /// updateClusterJobsRealmsyncSingle /// /// /// Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterJobsRealmsyncSingleWithHttpInfo(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0); /// /// updateClusterMappingDirSingle /// /// /// Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterMappingDirSingle(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0); /// /// updateClusterMappingDirSingle /// /// /// Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterMappingDirSingleWithHttpInfo(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0); /// /// updateClusterMappingPciSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterMappingPciSingle(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0); /// /// updateClusterMappingPciSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterMappingPciSingleWithHttpInfo(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0); /// /// updateClusterMappingUsbSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterMappingUsbSingle(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0); /// /// updateClusterMappingUsbSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterMappingUsbSingleWithHttpInfo(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0); /// /// updateClusterMetricsServerSingle /// /// /// Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterMetricsServerSingle(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0); /// /// updateClusterMetricsServerSingle /// /// /// Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterMetricsServerSingleWithHttpInfo(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsGotifySingle /// /// /// Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterNotificationsEndpointsGotifySingle(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsGotifySingle /// /// /// Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterNotificationsEndpointsGotifySingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsSendmailSingle /// /// /// Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterNotificationsEndpointsSendmailSingle(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsSendmailSingle /// /// /// Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterNotificationsEndpointsSendmailSingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsSmtpSingle /// /// /// Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterNotificationsEndpointsSmtpSingle(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsSmtpSingle /// /// /// Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterNotificationsEndpointsSmtpSingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsWebhookSingle /// /// /// Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterNotificationsEndpointsWebhookSingle(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsEndpointsWebhookSingle /// /// /// Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterNotificationsEndpointsWebhookSingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsMatchersSingle /// /// /// Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterNotificationsMatchersSingle(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0); /// /// updateClusterNotificationsMatchersSingle /// /// /// Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterNotificationsMatchersSingleWithHttpInfo(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0); /// /// updateClusterOptions /// /// /// Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterOptions(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0); /// /// updateClusterOptions /// /// /// Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterOptionsWithHttpInfo(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0); /// /// updateClusterReplicationSingle /// /// /// Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterReplicationSingle(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0); /// /// updateClusterReplicationSingle /// /// /// Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterReplicationSingleWithHttpInfo(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0); /// /// updateClusterSDN /// /// /// Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSDN(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0); /// /// updateClusterSDN /// /// /// Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSDNWithHttpInfo(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0); /// /// updateClusterSDNController /// /// /// Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSDNController(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0); /// /// updateClusterSDNController /// /// /// Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSDNControllerWithHttpInfo(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0); /// /// updateClusterSDNVnet /// /// /// Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSDNVnet(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0); /// /// updateClusterSDNVnet /// /// /// Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSDNVnetWithHttpInfo(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0); /// /// updateClusterSDNZone /// /// /// Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSDNZone(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0); /// /// updateClusterSDNZone /// /// /// Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSDNZoneWithHttpInfo(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0); /// /// updateClusterSdnDnsSingle /// /// /// Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnDnsSingle(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnDnsSingle /// /// /// Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnDnsSingleWithHttpInfo(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnFabricsFabricSingle(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnFabricsFabricSingleWithHttpInfo(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnFabricsNodeSingleSingle /// /// /// Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnFabricsNodeSingleSingle(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnFabricsNodeSingleSingle /// /// /// Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnFabricsNodeSingleSingleWithHttpInfo(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnIpamsSingle /// /// /// Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnIpamsSingle(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnIpamsSingle /// /// /// Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnIpamsSingleWithHttpInfo(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnVnetsSingleFirewallOptions(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnVnetsSingleFirewallOptionsWithHttpInfo(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnVnetsSingleFirewallRulesSingle(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleIps /// /// /// Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnVnetsSingleIps(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleIps /// /// /// Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnVnetsSingleIpsWithHttpInfo(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleSubnetsSingle /// /// /// Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateClusterSdnVnetsSingleSubnetsSingle(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0); /// /// updateClusterSdnVnetsSingleSubnetsSingle /// /// /// Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0); /// /// updateNodeFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodeFirewallOptions(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0); /// /// updateNodeFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodeFirewallOptionsWithHttpInfo(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0); /// /// updateNodeFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodeFirewallRule(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0); /// /// updateNodeFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodeFirewallRuleWithHttpInfo(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0); /// /// updateNodesSingleAptRepositories /// /// /// Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleAptRepositories(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0); /// /// updateNodesSingleAptRepositories /// /// /// Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleAptRepositoriesWithHttpInfo(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0); /// /// updateNodesSingleCephPoolSingle /// /// /// Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleCephPoolSingle(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleCephPoolSingle /// /// /// Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleCephPoolSingleWithHttpInfo(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleCertificatesAcmeCertificate /// /// /// Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleCertificatesAcmeCertificate(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0); /// /// updateNodesSingleCertificatesAcmeCertificate /// /// /// Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleCertificatesAcmeCertificateWithHttpInfo(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0); /// /// updateNodesSingleConfig /// /// /// Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleConfig(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0); /// /// updateNodesSingleConfig /// /// /// Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleConfigWithHttpInfo(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0); /// /// updateNodesSingleDisksWipedisk /// /// /// Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleDisksWipedisk(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0); /// /// updateNodesSingleDisksWipedisk /// /// /// Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleDisksWipediskWithHttpInfo(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0); /// /// updateNodesSingleDns /// /// /// Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleDns(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0); /// /// updateNodesSingleDns /// /// /// Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleDnsWithHttpInfo(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleConfig /// /// /// Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleLxcSingleConfig(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleConfig /// /// /// Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleLxcSingleConfigWithHttpInfo(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallAliasesSingle(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallOptions(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleLxcSingleFirewallOptionsWithHttpInfo(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallRulesSingle(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleResize /// /// /// Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk200Response UpdateNodesSingleLxcSingleResize(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleResize /// /// /// Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response ApiResponse UpdateNodesSingleLxcSingleResizeWithHttpInfo(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleLxcSingleSnapshotSingleConfig(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0); /// /// updateNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfo(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0); /// /// updateNodesSingleNetwork /// /// /// Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleNetwork(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0); /// /// updateNodesSingleNetwork /// /// /// Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleNetworkWithHttpInfo(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0); /// /// updateNodesSingleNetworkSingle /// /// /// Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleNetworkSingle(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleNetworkSingle /// /// /// Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleNetworkSingleWithHttpInfo(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleQemuSingleCloudinit /// /// /// Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleQemuSingleCloudinit(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// updateNodesSingleQemuSingleCloudinit /// /// /// Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleQemuSingleCloudinitWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0); /// /// updateNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleQemuSingleFirewallAliasesSingle(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleQemuSingleSendkey /// /// /// Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleQemuSingleSendkey(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0); /// /// updateNodesSingleQemuSingleSendkey /// /// /// Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleQemuSingleSendkeyWithHttpInfo(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0); /// /// updateNodesSingleStorageSingleContentSingle /// /// /// Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleStorageSingleContentSingle(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleStorageSingleContentSingle /// /// /// Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0); /// /// updateNodesSingleSubscription /// /// /// Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleSubscription(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0); /// /// updateNodesSingleSubscription /// /// /// Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleSubscriptionWithHttpInfo(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0); /// /// updateNodesSingleTime /// /// /// Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateNodesSingleTime(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0); /// /// updateNodesSingleTime /// /// /// Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateNodesSingleTimeWithHttpInfo(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0); /// /// updatePool /// /// /// Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdatePool(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0); /// /// updatePool /// /// /// Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdatePoolWithHttpInfo(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0); /// /// updatePools /// /// /// Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdatePools(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0); /// /// updatePools /// /// /// Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdatePoolsWithHttpInfo(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0); /// /// updateStorageSingle /// /// /// Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// CreateStorage200Response CreateStorage200Response UpdateStorageSingle(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0); /// /// updateStorageSingle /// /// /// Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateStorage200Response ApiResponse UpdateStorageSingleWithHttpInfo(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0); /// /// updateVMConfig /// /// /// Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateVMConfig(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0); /// /// updateVMConfig /// /// /// Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateVMConfigWithHttpInfo(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0); /// /// updateVMConfigSync /// /// /// Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateVMConfigSync(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0); /// /// updateVMConfigSync /// /// /// Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateVMConfigSyncWithHttpInfo(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0); /// /// updateVMFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateVMFirewallIPSetIP(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0); /// /// updateVMFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateVMFirewallIPSetIPWithHttpInfo(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0); /// /// updateVMFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateVMFirewallOptions(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0); /// /// updateVMFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateVMFirewallOptionsWithHttpInfo(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0); /// /// updateVMFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateVMFirewallRule(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0); /// /// updateVMFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateVMFirewallRuleWithHttpInfo(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0); /// /// updateVMSnapshotConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response CreateClusterReplication200Response UpdateVMSnapshotConfig(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0); /// /// updateVMSnapshotConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response ApiResponse UpdateVMSnapshotConfigWithHttpInfo(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0); #endregion Synchronous Operations } /// /// Represents a collection of functions to interact with the API endpoints /// public interface IProxmoxGeneratedApiAsync : IApiAccessor { #region Asynchronous Operations /// /// addClusterFirewallGroupRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task AddClusterFirewallGroupRuleAsync(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addClusterFirewallGroupRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> AddClusterFirewallGroupRuleWithHttpInfoAsync(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addClusterFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task AddClusterFirewallIPSetIPAsync(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addClusterFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> AddClusterFirewallIPSetIPWithHttpInfoAsync(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addClusterFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task AddClusterFirewallRuleAsync(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addClusterFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> AddClusterFirewallRuleWithHttpInfoAsync(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addVMFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task AddVMFirewallIPSetIPAsync(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// addVMFirewallIPSetIP /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> AddVMFirewallIPSetIPWithHttpInfoAsync(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// cloneVM /// /// /// Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CloneVMAsync(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// cloneVM /// /// /// Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CloneVMWithHttpInfoAsync(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessDomains /// /// /// Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateAccessDomainsAsync(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessDomains /// /// /// Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateAccessDomainsWithHttpInfoAsync(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessDomainsSingleSync /// /// /// Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessDomainsSingleSync200Response System.Threading.Tasks.Task CreateAccessDomainsSingleSyncAsync(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessDomainsSingleSync /// /// /// Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessDomainsSingleSync200Response) System.Threading.Tasks.Task> CreateAccessDomainsSingleSyncWithHttpInfoAsync(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessGroups /// /// /// Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateAccessGroupsAsync(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessGroups /// /// /// Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateAccessGroupsWithHttpInfoAsync(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessOpenidAuthurl /// /// /// Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessOpenidAuthurl200Response System.Threading.Tasks.Task CreateAccessOpenidAuthurlAsync(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessOpenidAuthurl /// /// /// Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessOpenidAuthurl200Response) System.Threading.Tasks.Task> CreateAccessOpenidAuthurlWithHttpInfoAsync(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessOpenidLogin /// /// /// Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateAccessOpenidLoginAsync(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessOpenidLogin /// /// /// Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateAccessOpenidLoginWithHttpInfoAsync(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessRoles /// /// /// Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateAccessRolesAsync(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessRoles /// /// /// Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateAccessRolesWithHttpInfoAsync(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessTfaSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessTfaSingle200Response System.Threading.Tasks.Task CreateAccessTfaSingleAsync(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessTfaSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessTfaSingle200Response) System.Threading.Tasks.Task> CreateAccessTfaSingleWithHttpInfoAsync(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessTicket /// /// /// Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessTicket200Response System.Threading.Tasks.Task CreateAccessTicketAsync(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessTicket /// /// /// Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessTicket200Response) System.Threading.Tasks.Task> CreateAccessTicketWithHttpInfoAsync(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessUsers /// /// /// Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateAccessUsersAsync(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessUsers /// /// /// Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateAccessUsersWithHttpInfoAsync(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessUsersSingleTokenSingle /// /// /// Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessUsersSingleTokenSingle200Response System.Threading.Tasks.Task CreateAccessUsersSingleTokenSingleAsync(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessUsersSingleTokenSingle /// /// /// Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessUsersSingleTokenSingle200Response) System.Threading.Tasks.Task> CreateAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessVncticket /// /// /// verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateAccessVncticketAsync(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createAccessVncticket /// /// /// verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateAccessVncticketWithHttpInfoAsync(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterAcmeAccount /// /// /// Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterAcmeAccountAsync(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterAcmeAccount /// /// /// Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterAcmeAccountWithHttpInfoAsync(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterAcmePlugins /// /// /// Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterAcmePluginsAsync(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterAcmePlugins /// /// /// Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterAcmePluginsWithHttpInfoAsync(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBackup /// /// /// Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterBackupAsync(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBackup /// /// /// Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterBackupWithHttpInfoAsync(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestMigrate /// /// /// Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response System.Threading.Tasks.Task CreateClusterBulkactionGuestMigrateAsync(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestMigrate /// /// /// Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) System.Threading.Tasks.Task> CreateClusterBulkactionGuestMigrateWithHttpInfoAsync(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestShutdown /// /// /// Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response System.Threading.Tasks.Task CreateClusterBulkactionGuestShutdownAsync(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestShutdown /// /// /// Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) System.Threading.Tasks.Task> CreateClusterBulkactionGuestShutdownWithHttpInfoAsync(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestStart /// /// /// Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response System.Threading.Tasks.Task CreateClusterBulkactionGuestStartAsync(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestStart /// /// /// Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) System.Threading.Tasks.Task> CreateClusterBulkactionGuestStartWithHttpInfoAsync(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestSuspend /// /// /// Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response System.Threading.Tasks.Task CreateClusterBulkactionGuestSuspendAsync(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterBulkactionGuestSuspend /// /// /// Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) System.Threading.Tasks.Task> CreateClusterBulkactionGuestSuspendWithHttpInfoAsync(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterConfig /// /// /// Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterConfigAsync(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterConfig /// /// /// Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterConfigWithHttpInfoAsync(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterConfigJoin /// /// /// Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterConfigJoinAsync(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterConfigJoin /// /// /// Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterConfigJoinWithHttpInfoAsync(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterConfigNodesSingle /// /// /// Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterConfigNodesSingle200Response System.Threading.Tasks.Task CreateClusterConfigNodesSingleAsync(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterConfigNodesSingle /// /// /// Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterConfigNodesSingle200Response) System.Threading.Tasks.Task> CreateClusterConfigNodesSingleWithHttpInfoAsync(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterFirewallAliasesAsync(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterFirewallAliasesWithHttpInfoAsync(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterFirewallGroup /// /// /// Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterFirewallGroupAsync(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterFirewallGroup /// /// /// Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterFirewallGroupWithHttpInfoAsync(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterFirewallIPSetAsync(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterFirewallIPSetWithHttpInfoAsync(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaGroups /// /// /// Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterHaGroupsAsync(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaGroups /// /// /// Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterHaGroupsWithHttpInfoAsync(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaResources /// /// /// Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterHaResourcesAsync(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaResources /// /// /// Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterHaResourcesWithHttpInfoAsync(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaResourcesSingleMigrate /// /// /// Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterHaResourcesSingleMigrate200Response System.Threading.Tasks.Task CreateClusterHaResourcesSingleMigrateAsync(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaResourcesSingleMigrate /// /// /// Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterHaResourcesSingleMigrate200Response) System.Threading.Tasks.Task> CreateClusterHaResourcesSingleMigrateWithHttpInfoAsync(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaResourcesSingleRelocate /// /// /// Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterHaResourcesSingleRelocate200Response System.Threading.Tasks.Task CreateClusterHaResourcesSingleRelocateAsync(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaResourcesSingleRelocate /// /// /// Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterHaResourcesSingleRelocate200Response) System.Threading.Tasks.Task> CreateClusterHaResourcesSingleRelocateWithHttpInfoAsync(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaRules /// /// /// Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterHaRulesAsync(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterHaRules /// /// /// Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterHaRulesWithHttpInfoAsync(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterJobsRealmsyncSingle /// /// /// Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterJobsRealmsyncSingleAsync(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterJobsRealmsyncSingle /// /// /// Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMappingDir /// /// /// Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterMappingDirAsync(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMappingDir /// /// /// Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterMappingDirWithHttpInfoAsync(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMappingPci /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterMappingPciAsync(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMappingPci /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterMappingPciWithHttpInfoAsync(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMappingUsb /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterMappingUsbAsync(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMappingUsb /// /// /// Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterMappingUsbWithHttpInfoAsync(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMetricsServerSingle /// /// /// Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterMetricsServerSingleAsync(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterMetricsServerSingle /// /// /// Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterMetricsServerSingleWithHttpInfoAsync(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsGotify /// /// /// Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterNotificationsEndpointsGotifyAsync(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsGotify /// /// /// Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsGotifyWithHttpInfoAsync(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsSendmail /// /// /// Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterNotificationsEndpointsSendmailAsync(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsSendmail /// /// /// Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsSendmailWithHttpInfoAsync(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsSmtp /// /// /// Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterNotificationsEndpointsSmtpAsync(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsSmtp /// /// /// Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsSmtpWithHttpInfoAsync(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsWebhook /// /// /// Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterNotificationsEndpointsWebhookAsync(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsEndpointsWebhook /// /// /// Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsWebhookWithHttpInfoAsync(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsMatchers /// /// /// Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterNotificationsMatchersAsync(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsMatchers /// /// /// Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterNotificationsMatchersWithHttpInfoAsync(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsTargetsSingleTest /// /// /// Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterNotificationsTargetsSingleTestAsync(string name, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterNotificationsTargetsSingleTest /// /// /// Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterNotificationsTargetsSingleTestWithHttpInfoAsync(string name, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterReplication /// /// /// Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterReplicationAsync(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterReplication /// /// /// Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterReplicationWithHttpInfoAsync(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSDNController /// /// /// Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSDNControllerAsync(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSDNController /// /// /// Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSDNControllerWithHttpInfoAsync(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSDNVnet /// /// /// Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSDNVnetAsync(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSDNVnet /// /// /// Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSDNVnetWithHttpInfoAsync(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSDNZone /// /// /// Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSDNZoneAsync(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSDNZone /// /// /// Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSDNZoneWithHttpInfoAsync(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnDns /// /// /// Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnDnsAsync(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnDns /// /// /// Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnDnsWithHttpInfoAsync(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnFabricsFabric /// /// /// Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnFabricsFabricAsync(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnFabricsFabric /// /// /// Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnFabricsFabricWithHttpInfoAsync(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnFabricsNodeSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnFabricsNodeSingleAsync(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnFabricsNodeSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnFabricsNodeSingleWithHttpInfoAsync(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnIpams /// /// /// Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnIpamsAsync(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnIpams /// /// /// Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnIpamsWithHttpInfoAsync(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnLock /// /// /// Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnLockAsync(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnLock /// /// /// Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnLockWithHttpInfoAsync(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnRollback /// /// /// Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnRollbackAsync(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnRollback /// /// /// Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnRollbackWithHttpInfoAsync(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnVnetsSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnVnetsSingleFirewallRulesAsync(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnVnetsSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnVnetsSingleFirewallRulesWithHttpInfoAsync(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnVnetsSingleIps /// /// /// Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnVnetsSingleIpsAsync(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnVnetsSingleIps /// /// /// Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnVnetsSingleIpsWithHttpInfoAsync(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnVnetsSingleSubnets /// /// /// Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateClusterSdnVnetsSingleSubnetsAsync(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createClusterSdnVnetsSingleSubnets /// /// /// Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateClusterSdnVnetsSingleSubnetsWithHttpInfoAsync(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodeFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodeFirewallRuleAsync(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodeFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodeFirewallRuleWithHttpInfoAsync(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleAplinfo /// /// /// Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleAplinfoAsync(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleAplinfo /// /// /// Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleAplinfoWithHttpInfoAsync(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleAptRepositories /// /// /// Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleAptRepositoriesAsync(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleAptRepositories /// /// /// Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleAptRepositoriesWithHttpInfoAsync(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleAptUpdate /// /// /// This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleAptUpdateAsync(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleAptUpdate /// /// /// This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleAptUpdateWithHttpInfoAsync(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephFsSingle /// /// /// Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephFsSingleAsync(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephFsSingle /// /// /// Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephFsSingleWithHttpInfoAsync(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephInit /// /// /// Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephInitAsync(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephInit /// /// /// Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephInitWithHttpInfoAsync(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephMdsSingle /// /// /// Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephMdsSingleAsync(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephMdsSingle /// /// /// Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephMdsSingleWithHttpInfoAsync(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephMgrSingle /// /// /// Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephMgrSingleAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephMgrSingle /// /// /// Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephMgrSingleWithHttpInfoAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephMonSingle /// /// /// Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephMonSingleAsync(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephMonSingle /// /// /// Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephMonSingleWithHttpInfoAsync(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsd /// /// /// Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephOsdAsync(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsd /// /// /// Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephOsdWithHttpInfoAsync(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsdSingleIn /// /// /// ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephOsdSingleInAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsdSingleIn /// /// /// ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephOsdSingleInWithHttpInfoAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsdSingleOut /// /// /// ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephOsdSingleOutAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsdSingleOut /// /// /// ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephOsdSingleOutWithHttpInfoAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsdSingleScrub /// /// /// Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephOsdSingleScrubAsync(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephOsdSingleScrub /// /// /// Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephOsdSingleScrubWithHttpInfoAsync(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephPool /// /// /// Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephPoolAsync(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephPool /// /// /// Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephPoolWithHttpInfoAsync(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephRestart /// /// /// Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephRestartAsync(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephRestart /// /// /// Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephRestartWithHttpInfoAsync(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephStart /// /// /// Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephStartAsync(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephStart /// /// /// Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephStartWithHttpInfoAsync(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephStop /// /// /// Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCephStopAsync(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCephStop /// /// /// Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCephStopWithHttpInfoAsync(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCertificatesAcmeCertificate /// /// /// Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleCertificatesAcmeCertificateAsync(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCertificatesAcmeCertificate /// /// /// Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCertificatesCustom /// /// /// Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleCertificatesCustom200Response System.Threading.Tasks.Task CreateNodesSingleCertificatesCustomAsync(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleCertificatesCustom /// /// /// Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleCertificatesCustom200Response) System.Threading.Tasks.Task> CreateNodesSingleCertificatesCustomWithHttpInfoAsync(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksDirectory /// /// /// Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleDisksDirectoryAsync(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksDirectory /// /// /// Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleDisksDirectoryWithHttpInfoAsync(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksInitgpt /// /// /// Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleDisksInitgptAsync(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksInitgpt /// /// /// Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleDisksInitgptWithHttpInfoAsync(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksLvm /// /// /// Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleDisksLvmAsync(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksLvm /// /// /// Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleDisksLvmWithHttpInfoAsync(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksLvmthin /// /// /// Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleDisksLvmthinAsync(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksLvmthin /// /// /// Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleDisksLvmthinWithHttpInfoAsync(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksZfs /// /// /// Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleDisksZfsAsync(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleDisksZfs /// /// /// Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleDisksZfsWithHttpInfoAsync(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleExecute /// /// /// Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task CreateNodesSingleExecuteAsync(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleExecute /// /// /// Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> CreateNodesSingleExecuteWithHttpInfoAsync(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleHosts /// /// /// Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleHostsAsync(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleHosts /// /// /// Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleHostsWithHttpInfoAsync(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxc /// /// /// Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcAsync(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxc /// /// /// Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcWithHttpInfoAsync(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleClone /// /// /// Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleCloneAsync(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleClone /// /// /// Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleCloneWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallAliasesAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallIpset /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallIpsetAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallIpset /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallIpsetWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallIpsetSingleAsync(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallRulesAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleFirewallRules /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallRulesWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleMigrate /// /// /// Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleMigrateAsync(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleMigrate /// /// /// Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleMigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleMovevolume /// /// /// Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleMovevolumeAsync(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleMovevolume /// /// /// Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleMovevolumeWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleMtunnelAsync(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleMtunnelWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleRemotemigrate /// /// /// Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleRemotemigrateAsync(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleRemotemigrate /// /// /// Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleRemotemigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleSnapshot /// /// /// Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleSnapshotAsync(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleSnapshot /// /// /// Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleSnapshotWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleSnapshotSingleRollback /// /// /// Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleSnapshotSingleRollbackAsync(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleSnapshotSingleRollback /// /// /// Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleSnapshotSingleRollbackWithHttpInfoAsync(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleSpiceproxy200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleSpiceproxyAsync(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleSpiceproxy200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleSpiceproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusReboot /// /// /// Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusRebootAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusReboot /// /// /// Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusRebootWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusResume /// /// /// Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusResumeAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusResume /// /// /// Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusResumeWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusShutdown /// /// /// Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusShutdownAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusShutdown /// /// /// Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusShutdownWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusStart /// /// /// Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusStartAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusStart /// /// /// Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusStartWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusStop /// /// /// Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusStopAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusStop /// /// /// Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusStopWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusSuspend /// /// /// Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusSuspendAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleStatusSuspend /// /// /// Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusSuspendWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleTemplateAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleTemplateWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleTermproxy /// /// /// Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleTermproxyAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleTermproxy /// /// /// Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleTermproxyWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleLxcSingleVncproxyAsync(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleLxcSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleLxcSingleVncproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleMigrateall /// /// /// Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleMigrateallAsync(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleMigrateall /// /// /// Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleMigrateallWithHttpInfoAsync(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleNetwork /// /// /// Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleNetworkAsync(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleNetwork /// /// /// Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleNetworkWithHttpInfoAsync(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgent /// /// /// Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgent /// /// /// Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentExec /// /// /// Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgentExec200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentExecAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentExec /// /// /// Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgentExec200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentExecWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFilewrite /// /// /// Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFilewriteAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFilewrite /// /// /// Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFilewriteWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFsfreezefreeze /// /// /// Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFsfreezefreezeAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFsfreezefreeze /// /// /// Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFsfreezefreezeWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFsfreezestatus /// /// /// Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFsfreezestatusAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFsfreezestatus /// /// /// Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFsfreezestatusWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFsfreezethaw /// /// /// Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFsfreezethawAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFsfreezethaw /// /// /// Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFsfreezethawWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFstrim /// /// /// Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFstrimAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentFstrim /// /// /// Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFstrimWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentPing /// /// /// Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentPingAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentPing /// /// /// Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentPingWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSetuserpassword /// /// /// Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSetuserpasswordAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSetuserpassword /// /// /// Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSetuserpasswordWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentShutdown /// /// /// Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentShutdownAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentShutdown /// /// /// Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentShutdownWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSuspenddisk /// /// /// Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSuspenddiskAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSuspenddisk /// /// /// Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSuspenddiskWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSuspendhybrid /// /// /// Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSuspendhybridAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSuspendhybrid /// /// /// Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSuspendhybridWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSuspendram /// /// /// Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSuspendramAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleAgentSuspendram /// /// /// Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSuspendramWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleDbusvmstate /// /// /// Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleDbusvmstateAsync(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleDbusvmstate /// /// /// Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleDbusvmstateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleFirewallAliasesAsync(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleFirewallAliases /// /// /// Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMigrate /// /// /// Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleMigrateAsync(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMigrate /// /// /// Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMonitor /// /// /// Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleMonitorAsync(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMonitor /// /// /// Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMonitorWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMovedisk /// /// /// Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleMovediskAsync(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMovedisk /// /// /// Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMovediskWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleMtunnelAsync(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleMtunnel /// /// /// Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMtunnelWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleRemotemigrate /// /// /// Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleRemotemigrateAsync(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleRemotemigrate /// /// /// Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleRemotemigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleSpiceproxy200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleSpiceproxyAsync(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleSpiceproxy /// /// /// Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleSpiceproxy200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleSpiceproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleTemplateAsync(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleTemplate /// /// /// Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleTemplateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleTermproxy /// /// /// Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleTermproxyAsync(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleTermproxy /// /// /// Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleTermproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleQemuSingleVncproxyAsync(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleQemuSingleVncproxy /// /// /// Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleQemuSingleVncproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleReplicationSingleSchedulenow /// /// /// Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleReplicationSingleSchedulenowAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleReplicationSingleSchedulenow /// /// /// Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleReplicationSingleSchedulenowWithHttpInfoAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleReload /// /// /// Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleServicesSingleReloadAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleReload /// /// /// Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleServicesSingleReloadWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleRestart /// /// /// Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleServicesSingleRestartAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleRestart /// /// /// Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleServicesSingleRestartWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleStart /// /// /// Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleServicesSingleStartAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleStart /// /// /// Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleServicesSingleStartWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleStop /// /// /// Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleServicesSingleStopAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleServicesSingleStop /// /// /// Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleServicesSingleStopWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleSpiceshell /// /// /// Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleSpiceproxy200Response System.Threading.Tasks.Task CreateNodesSingleSpiceshellAsync(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleSpiceshell /// /// /// Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleSpiceproxy200Response) System.Threading.Tasks.Task> CreateNodesSingleSpiceshellWithHttpInfoAsync(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStartall /// /// /// Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStartallAsync(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStartall /// /// /// Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStartallWithHttpInfoAsync(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStatus /// /// /// Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStatusAsync(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStatus /// /// /// Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStatusWithHttpInfoAsync(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStopall /// /// /// Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStopallAsync(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStopall /// /// /// Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStopallWithHttpInfoAsync(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleContent /// /// /// Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleStorageSingleContent200Response System.Threading.Tasks.Task CreateNodesSingleStorageSingleContentAsync(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleContent /// /// /// Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleStorageSingleContent200Response) System.Threading.Tasks.Task> CreateNodesSingleStorageSingleContentWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleContentSingle /// /// /// Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleContentSingle /// /// /// Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleDownloadurl /// /// /// Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStorageSingleDownloadurlAsync(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleDownloadurl /// /// /// Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStorageSingleDownloadurlWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleOciregistrypull /// /// /// Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStorageSingleOciregistrypullAsync(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleOciregistrypull /// /// /// Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStorageSingleOciregistrypullWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleUpload /// /// /// Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleStorageSingleUploadAsync(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleStorageSingleUpload /// /// /// Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleStorageSingleUploadWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleSubscription /// /// /// Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleSubscriptionAsync(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleSubscription /// /// /// Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleSubscriptionWithHttpInfoAsync(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleSuspendall /// /// /// Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleSuspendallAsync(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleSuspendall /// /// /// Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleSuspendallWithHttpInfoAsync(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleTermproxy /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleTermproxyAsync(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleTermproxy /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleTermproxyWithHttpInfoAsync(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleVncshell /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleVncshellAsync(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleVncshell /// /// /// Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleVncshellWithHttpInfoAsync(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleVzdump /// /// /// Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateNodesSingleVzdumpAsync(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleVzdump /// /// /// Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateNodesSingleVzdumpWithHttpInfoAsync(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleWakeonlan /// /// /// Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleWakeonlan200Response System.Threading.Tasks.Task CreateNodesSingleWakeonlanAsync(string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createNodesSingleWakeonlan /// /// /// Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleWakeonlan200Response) System.Threading.Tasks.Task> CreateNodesSingleWakeonlanWithHttpInfoAsync(string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createPool /// /// /// Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreatePoolAsync(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createPool /// /// /// Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreatePoolWithHttpInfoAsync(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createStorage /// /// /// Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateStorage200Response System.Threading.Tasks.Task CreateStorageAsync(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createStorage /// /// /// Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateStorage200Response) System.Threading.Tasks.Task> CreateStorageWithHttpInfoAsync(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVM /// /// /// Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateVMAsync(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVM /// /// /// Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateVMWithHttpInfoAsync(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVMFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateVMFirewallIPSetAsync(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVMFirewallIPSet /// /// /// Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateVMFirewallIPSetWithHttpInfoAsync(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVMFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task CreateVMFirewallRuleAsync(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVMFirewallRule /// /// /// Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> CreateVMFirewallRuleWithHttpInfoAsync(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVMSnapshot /// /// /// Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task CreateVMSnapshotAsync(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// createVMSnapshot /// /// /// Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> CreateVMSnapshotWithHttpInfoAsync(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessDomainsSingle /// /// /// Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteAccessDomainsSingleAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessDomainsSingle /// /// /// Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteAccessDomainsSingleWithHttpInfoAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessGroupsSingle /// /// /// Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteAccessGroupsSingleAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessGroupsSingle /// /// /// Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteAccessGroupsSingleWithHttpInfoAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessRolesSingle /// /// /// Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteAccessRolesSingleAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessRolesSingle /// /// /// Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteAccessRolesSingleWithHttpInfoAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessTfaSingleSingle /// /// /// Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteAccessTfaSingleSingleAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessTfaSingleSingle /// /// /// Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteAccessTfaSingleSingleWithHttpInfoAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessUsersSingle /// /// /// Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteAccessUsersSingleAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessUsersSingle /// /// /// Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteAccessUsersSingleWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessUsersSingleTokenSingle /// /// /// Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteAccessUsersSingleTokenSingleAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteAccessUsersSingleTokenSingle /// /// /// Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterAcmeAccountSingle /// /// /// Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterAcmeAccountSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterAcmeAccountSingle /// /// /// Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterAcmeAccountSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterAcmePluginsSingle /// /// /// Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterAcmePluginsSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterAcmePluginsSingle /// /// /// Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterAcmePluginsSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterBackupSingle /// /// /// Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterBackupSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterBackupSingle /// /// /// Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterBackupSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterConfigNodesSingle /// /// /// Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterConfigNodesSingleAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterConfigNodesSingle /// /// /// Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterConfigNodesSingleWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterFirewallAliasesSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterFirewallAliasesSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterFirewallGroup /// /// /// Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterFirewallGroupAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterFirewallGroup /// /// /// Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterFirewallGroupWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterFirewallIPSetAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterFirewallIPSetWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterHaGroupsSingle /// /// /// Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterHaGroupsSingleAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterHaGroupsSingle /// /// /// Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterHaGroupsSingleWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterHaResourcesSingle /// /// /// Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterHaResourcesSingleAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterHaResourcesSingle /// /// /// Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterHaResourcesSingleWithHttpInfoAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterHaRulesSingle /// /// /// Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterHaRulesSingleAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterHaRulesSingle /// /// /// Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterHaRulesSingleWithHttpInfoAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterJobsRealmsyncSingle /// /// /// Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterJobsRealmsyncSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterJobsRealmsyncSingle /// /// /// Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMappingDirSingle /// /// /// Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterMappingDirSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMappingDirSingle /// /// /// Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterMappingDirSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMappingPciSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterMappingPciSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMappingPciSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterMappingPciSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMappingUsbSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterMappingUsbSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMappingUsbSingle /// /// /// Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterMappingUsbSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMetricsServerSingle /// /// /// Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterMetricsServerSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterMetricsServerSingle /// /// /// Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterMetricsServerSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsGotifySingle /// /// /// Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsGotifySingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsGotifySingle /// /// /// Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsSendmailSingle /// /// /// Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsSendmailSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsSendmailSingle /// /// /// Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsSmtpSingle /// /// /// Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsSmtpSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsSmtpSingle /// /// /// Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsWebhookSingle /// /// /// Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsWebhookSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsEndpointsWebhookSingle /// /// /// Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsMatchersSingle /// /// /// Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterNotificationsMatchersSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterNotificationsMatchersSingle /// /// /// Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterNotificationsMatchersSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterReplicationSingle /// /// /// Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterReplicationSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterReplicationSingle /// /// /// Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterReplicationSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSDNController /// /// /// Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSDNControllerAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSDNController /// /// /// Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSDNControllerWithHttpInfoAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSDNVnet /// /// /// Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSDNVnetAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSDNVnet /// /// /// Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSDNVnetWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSDNZone /// /// /// Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSDNZoneAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSDNZone /// /// /// Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSDNZoneWithHttpInfoAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnDnsSingle /// /// /// Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnDnsSingleAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnDnsSingle /// /// /// Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnDnsSingleWithHttpInfoAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnFabricsFabricSingle /// /// /// Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnFabricsFabricSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnFabricsFabricSingle /// /// /// Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnFabricsFabricSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnFabricsNodeSingleSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnFabricsNodeSingleSingleAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnFabricsNodeSingleSingle /// /// /// Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnIpamsSingle /// /// /// Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnIpamsSingleAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnIpamsSingle /// /// /// Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnIpamsSingleWithHttpInfoAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnLock /// /// /// Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnLockAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnLock /// /// /// Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnLockWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnVnetsSingleFirewallRulesSingleAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnVnetsSingleIps /// /// /// Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnVnetsSingleIpsAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnVnetsSingleIps /// /// /// Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnVnetsSingleIpsWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnVnetsSingleSubnetsSingle /// /// /// Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteClusterSdnVnetsSingleSubnetsSingleAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteClusterSdnVnetsSingleSubnetsSingle /// /// /// Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodeFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodeFirewallRuleAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodeFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodeFirewallRuleWithHttpInfoAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephMdsSingle /// /// /// Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCephMdsSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephMdsSingle /// /// /// Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCephMdsSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephMgrSingle /// /// /// Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCephMgrSingleAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephMgrSingle /// /// /// Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCephMgrSingleWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephMonSingle /// /// /// Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCephMonSingleAsync(string monid, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephMonSingle /// /// /// Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCephMonSingleWithHttpInfoAsync(string monid, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephOsdSingle /// /// /// Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCephOsdSingleAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephOsdSingle /// /// /// Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCephOsdSingleWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephPoolSingle /// /// /// Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCephPoolSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCephPoolSingle /// /// /// Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCephPoolSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCertificatesAcmeCertificate /// /// /// Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCertificatesAcmeCertificateAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCertificatesAcmeCertificate /// /// /// Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCertificatesCustom /// /// /// DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleCertificatesCustomAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleCertificatesCustom /// /// /// DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleCertificatesCustomWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksDirectorySingle /// /// /// Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleDisksDirectorySingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksDirectorySingle /// /// /// Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleDisksDirectorySingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksLvmSingle /// /// /// Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleDisksLvmSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksLvmSingle /// /// /// Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleDisksLvmSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksLvmthinSingle /// /// /// Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleDisksLvmthinSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksLvmthinSingle /// /// /// Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleDisksLvmthinSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksZfsSingle /// /// /// Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleDisksZfsSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleDisksZfsSingle /// /// /// Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleDisksZfsSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingle /// /// /// Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleLxcSingleAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingle /// /// /// Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallIpsetSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallRulesSingleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleFirewallRulesSingle /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleSnapshotSingle /// /// /// Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task DeleteNodesSingleLxcSingleSnapshotSingleAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleLxcSingleSnapshotSingle /// /// /// Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleSnapshotSingleWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleNetwork /// /// /// Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleNetworkAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleNetwork /// /// /// Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleNetworkWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleNetworkSingle /// /// /// Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleNetworkSingleAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleNetworkSingle /// /// /// Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleNetworkSingleWithHttpInfoAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleQemuSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleStorageSingleContentSingle /// /// /// Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleStorageSingleContentSingle /// /// /// Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleStorageSinglePrunebackups /// /// /// Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleStorageSinglePrunebackupsAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleStorageSinglePrunebackups /// /// /// Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleStorageSinglePrunebackupsWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleSubscription /// /// /// Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteNodesSingleSubscriptionAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteNodesSingleSubscription /// /// /// Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteNodesSingleSubscriptionWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deletePool /// /// /// Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeletePoolAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deletePool /// /// /// Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeletePoolWithHttpInfoAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deletePools /// /// /// Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeletePoolsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deletePools /// /// /// Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeletePoolsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteStorageSingle /// /// /// Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteStorageSingleAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteStorageSingle /// /// /// Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteStorageSingleWithHttpInfoAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVM /// /// /// Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteVMAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVM /// /// /// Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteVMWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVMFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteVMFirewallIPSetAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVMFirewallIPSet /// /// /// Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteVMFirewallIPSetWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVMFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task DeleteVMFirewallRuleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVMFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> DeleteVMFirewallRuleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVMSnapshot /// /// /// Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task DeleteVMSnapshotAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// deleteVMSnapshot /// /// /// Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> DeleteVMSnapshotWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccess /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetAccessAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccess /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetAccessWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessAcl /// /// /// Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessAcl200Response System.Threading.Tasks.Task GetAccessAclAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessAcl /// /// /// Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessAcl200Response) System.Threading.Tasks.Task> GetAccessAclWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessDomains /// /// /// Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessDomains200Response System.Threading.Tasks.Task GetAccessDomainsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessDomains /// /// /// Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessDomains200Response) System.Threading.Tasks.Task> GetAccessDomainsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessDomainsSingle /// /// /// Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetAccessDomainsSingleAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessDomainsSingle /// /// /// Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetAccessDomainsSingleWithHttpInfoAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessGroups /// /// /// Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessGroups200Response System.Threading.Tasks.Task GetAccessGroupsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessGroups /// /// /// Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessGroups200Response) System.Threading.Tasks.Task> GetAccessGroupsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessGroupsSingle /// /// /// Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessGroupsSingle200Response System.Threading.Tasks.Task GetAccessGroupsSingleAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessGroupsSingle /// /// /// Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessGroupsSingle200Response) System.Threading.Tasks.Task> GetAccessGroupsSingleWithHttpInfoAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessOpenid /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetAccessOpenidAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessOpenid /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetAccessOpenidWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessPermissions /// /// /// Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessPermissions200Response System.Threading.Tasks.Task GetAccessPermissionsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessPermissions /// /// /// Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessPermissions200Response) System.Threading.Tasks.Task> GetAccessPermissionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessRoles /// /// /// Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessRoles200Response System.Threading.Tasks.Task GetAccessRolesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessRoles /// /// /// Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessRoles200Response) System.Threading.Tasks.Task> GetAccessRolesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessRolesSingle /// /// /// Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessRolesSingle200Response System.Threading.Tasks.Task GetAccessRolesSingleAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessRolesSingle /// /// /// Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessRolesSingle200Response) System.Threading.Tasks.Task> GetAccessRolesSingleWithHttpInfoAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTfa /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessTfa200Response System.Threading.Tasks.Task GetAccessTfaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTfa /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessTfa200Response) System.Threading.Tasks.Task> GetAccessTfaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTfaSingle /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessTfaSingle200Response System.Threading.Tasks.Task GetAccessTfaSingleAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTfaSingle /// /// /// List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessTfaSingle200Response) System.Threading.Tasks.Task> GetAccessTfaSingleWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTfaSingleSingle /// /// /// Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessTfaSingleSingle200Response System.Threading.Tasks.Task GetAccessTfaSingleSingleAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTfaSingleSingle /// /// /// Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessTfaSingleSingle200Response) System.Threading.Tasks.Task> GetAccessTfaSingleSingleWithHttpInfoAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTicket /// /// /// Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetAccessTicketAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessTicket /// /// /// Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetAccessTicketWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsers /// /// /// User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsers200Response System.Threading.Tasks.Task GetAccessUsersAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsers /// /// /// User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsers200Response) System.Threading.Tasks.Task> GetAccessUsersWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingle /// /// /// Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingle200Response System.Threading.Tasks.Task GetAccessUsersSingleAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingle /// /// /// Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingle200Response) System.Threading.Tasks.Task> GetAccessUsersSingleWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingleTfa /// /// /// Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingleTfa200Response System.Threading.Tasks.Task GetAccessUsersSingleTfaAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingleTfa /// /// /// Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingleTfa200Response) System.Threading.Tasks.Task> GetAccessUsersSingleTfaWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingleToken /// /// /// Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingleToken200Response System.Threading.Tasks.Task GetAccessUsersSingleTokenAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingleToken /// /// /// Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingleToken200Response) System.Threading.Tasks.Task> GetAccessUsersSingleTokenWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingleTokenSingle /// /// /// Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingleTokenSingle200Response System.Threading.Tasks.Task GetAccessUsersSingleTokenSingleAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getAccessUsersSingleTokenSingle /// /// /// Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingleTokenSingle200Response) System.Threading.Tasks.Task> GetAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getCluster /// /// /// Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getCluster /// /// /// Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcme /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterAcmeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcme /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterAcmeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeAccount /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterAcmeAccountAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeAccount /// /// /// ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterAcmeAccountWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeAccountSingle /// /// /// Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeAccountSingle200Response System.Threading.Tasks.Task GetClusterAcmeAccountSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeAccountSingle /// /// /// Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeAccountSingle200Response) System.Threading.Tasks.Task> GetClusterAcmeAccountSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeChallengeschema /// /// /// Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeChallengeschema200Response System.Threading.Tasks.Task GetClusterAcmeChallengeschemaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeChallengeschema /// /// /// Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeChallengeschema200Response) System.Threading.Tasks.Task> GetClusterAcmeChallengeschemaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeDirectories /// /// /// Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeDirectories200Response System.Threading.Tasks.Task GetClusterAcmeDirectoriesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeDirectories /// /// /// Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeDirectories200Response) System.Threading.Tasks.Task> GetClusterAcmeDirectoriesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeMeta /// /// /// Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeMeta200Response System.Threading.Tasks.Task GetClusterAcmeMetaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeMeta /// /// /// Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeMeta200Response) System.Threading.Tasks.Task> GetClusterAcmeMetaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmePlugins /// /// /// ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmePlugins200Response System.Threading.Tasks.Task GetClusterAcmePluginsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmePlugins /// /// /// ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmePlugins200Response) System.Threading.Tasks.Task> GetClusterAcmePluginsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmePluginsSingle /// /// /// Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmePluginsSingle200Response System.Threading.Tasks.Task GetClusterAcmePluginsSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmePluginsSingle /// /// /// Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmePluginsSingle200Response) System.Threading.Tasks.Task> GetClusterAcmePluginsSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeTos /// /// /// Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeTos200Response System.Threading.Tasks.Task GetClusterAcmeTosAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterAcmeTos /// /// /// Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeTos200Response) System.Threading.Tasks.Task> GetClusterAcmeTosWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackup /// /// /// List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackup200Response System.Threading.Tasks.Task GetClusterBackupAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackup /// /// /// List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackup200Response) System.Threading.Tasks.Task> GetClusterBackupWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupSingle /// /// /// Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterBackupSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupSingle /// /// /// Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterBackupSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupSingleIncludedvolumes /// /// /// Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupSingleIncludedvolumes200Response System.Threading.Tasks.Task GetClusterBackupSingleIncludedvolumesAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupSingleIncludedvolumes /// /// /// Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupSingleIncludedvolumes200Response) System.Threading.Tasks.Task> GetClusterBackupSingleIncludedvolumesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupinfo /// /// /// Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupinfo200Response System.Threading.Tasks.Task GetClusterBackupinfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupinfo /// /// /// Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupinfo200Response) System.Threading.Tasks.Task> GetClusterBackupinfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupinfoNotbackedup /// /// /// Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupinfoNotbackedup200Response System.Threading.Tasks.Task GetClusterBackupinfoNotbackedupAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBackupinfoNotbackedup /// /// /// Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupinfoNotbackedup200Response) System.Threading.Tasks.Task> GetClusterBackupinfoNotbackedupWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBulkaction /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMapping200Response System.Threading.Tasks.Task GetClusterBulkactionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBulkaction /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMapping200Response) System.Threading.Tasks.Task> GetClusterBulkactionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBulkactionGuest /// /// /// Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterBulkactionGuestAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterBulkactionGuest /// /// /// Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterBulkactionGuestWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCeph /// /// /// Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterCephAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCeph /// /// /// Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterCephWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephFlags /// /// /// get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephFlags200Response System.Threading.Tasks.Task GetClusterCephFlagsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephFlags /// /// /// get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephFlags200Response) System.Threading.Tasks.Task> GetClusterCephFlagsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephFlagsSingle /// /// /// Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephFlagsSingle200Response System.Threading.Tasks.Task GetClusterCephFlagsSingleAsync(string flag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephFlagsSingle /// /// /// Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephFlagsSingle200Response) System.Threading.Tasks.Task> GetClusterCephFlagsSingleWithHttpInfoAsync(string flag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephMetadata /// /// /// Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephMetadata200Response System.Threading.Tasks.Task GetClusterCephMetadataAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephMetadata /// /// /// Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephMetadata200Response) System.Threading.Tasks.Task> GetClusterCephMetadataWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterCephStatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterCephStatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfig /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterConfigAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfig /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterConfigWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigApiversion /// /// /// Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterConfigApiversion200Response System.Threading.Tasks.Task GetClusterConfigApiversionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigApiversion /// /// /// Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterConfigApiversion200Response) System.Threading.Tasks.Task> GetClusterConfigApiversionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigJoin /// /// /// Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterConfigJoin200Response System.Threading.Tasks.Task GetClusterConfigJoinAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigJoin /// /// /// Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterConfigJoin200Response) System.Threading.Tasks.Task> GetClusterConfigJoinWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigNodes /// /// /// Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterConfigNodes200Response System.Threading.Tasks.Task GetClusterConfigNodesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigNodes /// /// /// Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterConfigNodes200Response) System.Threading.Tasks.Task> GetClusterConfigNodesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigQdevice /// /// /// Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterConfigQdeviceAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigQdevice /// /// /// Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterConfigQdeviceWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigTotem /// /// /// Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterConfigTotemAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterConfigTotem /// /// /// Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterConfigTotemWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterFirewallAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterFirewallWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallAliases200Response System.Threading.Tasks.Task GetClusterFirewallAliasesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallAliases200Response) System.Threading.Tasks.Task> GetClusterFirewallAliasesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterFirewallAliasesSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterFirewallAliasesSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallGroupRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response System.Threading.Tasks.Task GetClusterFirewallGroupRuleAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallGroupRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) System.Threading.Tasks.Task> GetClusterFirewallGroupRuleWithHttpInfoAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallGroupRules /// /// /// List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response System.Threading.Tasks.Task GetClusterFirewallGroupRulesAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallGroupRules /// /// /// List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) System.Threading.Tasks.Task> GetClusterFirewallGroupRulesWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallGroups /// /// /// List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroups200Response System.Threading.Tasks.Task GetClusterFirewallGroupsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallGroups /// /// /// List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroups200Response) System.Threading.Tasks.Task> GetClusterFirewallGroupsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSet200Response System.Threading.Tasks.Task GetClusterFirewallIPSetAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSet200Response) System.Threading.Tasks.Task> GetClusterFirewallIPSetWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterFirewallIPSetIPAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSets200Response System.Threading.Tasks.Task GetClusterFirewallIPSetsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSets200Response) System.Threading.Tasks.Task> GetClusterFirewallIPSetsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallMacros /// /// /// List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallMacros200Response System.Threading.Tasks.Task GetClusterFirewallMacrosAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallMacros /// /// /// List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallMacros200Response) System.Threading.Tasks.Task> GetClusterFirewallMacrosWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallOptions /// /// /// Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallOptions200Response System.Threading.Tasks.Task GetClusterFirewallOptionsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallOptions /// /// /// Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallOptions200Response) System.Threading.Tasks.Task> GetClusterFirewallOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallRefs200Response System.Threading.Tasks.Task GetClusterFirewallRefsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallRefs200Response) System.Threading.Tasks.Task> GetClusterFirewallRefsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response System.Threading.Tasks.Task GetClusterFirewallRuleAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) System.Threading.Tasks.Task> GetClusterFirewallRuleWithHttpInfoAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response System.Threading.Tasks.Task GetClusterFirewallRulesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) System.Threading.Tasks.Task> GetClusterFirewallRulesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHa /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response System.Threading.Tasks.Task GetClusterHaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHa /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) System.Threading.Tasks.Task> GetClusterHaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaGroups /// /// /// Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaGroups200Response System.Threading.Tasks.Task GetClusterHaGroupsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaGroups /// /// /// Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaGroups200Response) System.Threading.Tasks.Task> GetClusterHaGroupsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaGroupsSingle /// /// /// Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetClusterHaGroupsSingleAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaGroupsSingle /// /// /// Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetClusterHaGroupsSingleWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaResources /// /// /// List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaResources200Response System.Threading.Tasks.Task GetClusterHaResourcesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaResources /// /// /// List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaResources200Response) System.Threading.Tasks.Task> GetClusterHaResourcesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaResourcesSingle /// /// /// Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaResourcesSingle200Response System.Threading.Tasks.Task GetClusterHaResourcesSingleAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaResourcesSingle /// /// /// Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaResourcesSingle200Response) System.Threading.Tasks.Task> GetClusterHaResourcesSingleWithHttpInfoAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaRules /// /// /// Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaRules200Response System.Threading.Tasks.Task GetClusterHaRulesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaRules /// /// /// Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaRules200Response) System.Threading.Tasks.Task> GetClusterHaRulesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaRulesSingle /// /// /// Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaRulesSingle200Response System.Threading.Tasks.Task GetClusterHaRulesSingleAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaRulesSingle /// /// /// Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaRulesSingle200Response) System.Threading.Tasks.Task> GetClusterHaRulesSingleWithHttpInfoAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaStatus /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterHaStatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaStatus /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterHaStatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaStatusCurrent /// /// /// Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaStatusCurrent200Response System.Threading.Tasks.Task GetClusterHaStatusCurrentAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaStatusCurrent /// /// /// Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaStatusCurrent200Response) System.Threading.Tasks.Task> GetClusterHaStatusCurrentWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaStatusManagerstatus /// /// /// Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterHaStatusManagerstatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterHaStatusManagerstatus /// /// /// Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterHaStatusManagerstatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobs /// /// /// Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupinfo200Response System.Threading.Tasks.Task GetClusterJobsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobs /// /// /// Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupinfo200Response) System.Threading.Tasks.Task> GetClusterJobsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobsRealmsync /// /// /// List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterJobsRealmsync200Response System.Threading.Tasks.Task GetClusterJobsRealmsyncAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobsRealmsync /// /// /// List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterJobsRealmsync200Response) System.Threading.Tasks.Task> GetClusterJobsRealmsyncWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobsRealmsyncSingle /// /// /// Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterJobsRealmsyncSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobsRealmsyncSingle /// /// /// Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobsScheduleanalyze /// /// /// Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterJobsScheduleanalyze200Response System.Threading.Tasks.Task GetClusterJobsScheduleanalyzeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterJobsScheduleanalyze /// /// /// Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterJobsScheduleanalyze200Response) System.Threading.Tasks.Task> GetClusterJobsScheduleanalyzeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterLog /// /// /// Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterLogAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterLog /// /// /// Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterLogWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMapping /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMapping200Response System.Threading.Tasks.Task GetClusterMappingAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMapping /// /// /// List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMapping200Response) System.Threading.Tasks.Task> GetClusterMappingWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingDir /// /// /// List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMappingDir200Response System.Threading.Tasks.Task GetClusterMappingDirAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingDir /// /// /// List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMappingDir200Response) System.Threading.Tasks.Task> GetClusterMappingDirWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingDirSingle /// /// /// Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterMappingDirSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingDirSingle /// /// /// Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterMappingDirSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingPci /// /// /// List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMappingPci200Response System.Threading.Tasks.Task GetClusterMappingPciAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingPci /// /// /// List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMappingPci200Response) System.Threading.Tasks.Task> GetClusterMappingPciWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingPciSingle /// /// /// Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterMappingPciSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingPciSingle /// /// /// Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterMappingPciSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingUsb /// /// /// List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMappingUsb200Response System.Threading.Tasks.Task GetClusterMappingUsbAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingUsb /// /// /// List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMappingUsb200Response) System.Threading.Tasks.Task> GetClusterMappingUsbWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingUsbSingle /// /// /// Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterMappingUsbSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMappingUsbSingle /// /// /// Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterMappingUsbSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetrics /// /// /// Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterMetricsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetrics /// /// /// Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterMetricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetricsExport /// /// /// Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsExport200Response System.Threading.Tasks.Task GetClusterMetricsExportAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetricsExport /// /// /// Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsExport200Response) System.Threading.Tasks.Task> GetClusterMetricsExportWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetricsServer /// /// /// List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServer200Response System.Threading.Tasks.Task GetClusterMetricsServerAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetricsServer /// /// /// List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServer200Response) System.Threading.Tasks.Task> GetClusterMetricsServerWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetricsServerSingle /// /// /// Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterMetricsServerSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterMetricsServerSingle /// /// /// Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterMetricsServerSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNextid /// /// /// Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNextid200Response System.Threading.Tasks.Task GetClusterNextidAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNextid /// /// /// Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNextid200Response) System.Threading.Tasks.Task> GetClusterNextidWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotifications /// /// /// Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterNotificationsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotifications /// /// /// Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterNotificationsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpoints /// /// /// Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpoints /// /// /// Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsGotify /// /// /// Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsGotify200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsGotifyAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsGotify /// /// /// Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsGotify200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsGotifyWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsGotifySingle /// /// /// Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsGotifySingle200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsGotifySingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsGotifySingle /// /// /// Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsGotifySingle200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSendmail /// /// /// Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSendmail200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsSendmailAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSendmail /// /// /// Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSendmail200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSendmailWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSendmailSingle /// /// /// Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSendmailSingle200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsSendmailSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSendmailSingle /// /// /// Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSendmailSingle200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSmtp /// /// /// Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSmtp200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsSmtpAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSmtp /// /// /// Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSmtp200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSmtpWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSmtpSingle /// /// /// Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSmtpSingle200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsSmtpSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsSmtpSingle /// /// /// Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSmtpSingle200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsWebhook /// /// /// Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsWebhook200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsWebhookAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsWebhook /// /// /// Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsWebhook200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsWebhookWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsWebhookSingle /// /// /// Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsWebhookSingle200Response System.Threading.Tasks.Task GetClusterNotificationsEndpointsWebhookSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsEndpointsWebhookSingle /// /// /// Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsWebhookSingle200Response) System.Threading.Tasks.Task> GetClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatcherfields /// /// /// Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatcherfields200Response System.Threading.Tasks.Task GetClusterNotificationsMatcherfieldsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatcherfields /// /// /// Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatcherfields200Response) System.Threading.Tasks.Task> GetClusterNotificationsMatcherfieldsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatcherfieldvalues /// /// /// Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatcherfieldvalues200Response System.Threading.Tasks.Task GetClusterNotificationsMatcherfieldvaluesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatcherfieldvalues /// /// /// Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatcherfieldvalues200Response) System.Threading.Tasks.Task> GetClusterNotificationsMatcherfieldvaluesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatchers /// /// /// Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatchers200Response System.Threading.Tasks.Task GetClusterNotificationsMatchersAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatchers /// /// /// Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatchers200Response) System.Threading.Tasks.Task> GetClusterNotificationsMatchersWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatchersSingle /// /// /// Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatchersSingle200Response System.Threading.Tasks.Task GetClusterNotificationsMatchersSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsMatchersSingle /// /// /// Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatchersSingle200Response) System.Threading.Tasks.Task> GetClusterNotificationsMatchersSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsTargets /// /// /// Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsTargets200Response System.Threading.Tasks.Task GetClusterNotificationsTargetsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterNotificationsTargets /// /// /// Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsTargets200Response) System.Threading.Tasks.Task> GetClusterNotificationsTargetsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterOptions /// /// /// Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterOptionsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterOptions /// /// /// Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterReplication /// /// /// List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterReplication200Response System.Threading.Tasks.Task GetClusterReplicationAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterReplication /// /// /// List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterReplication200Response) System.Threading.Tasks.Task> GetClusterReplicationWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterReplicationSingle /// /// /// Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterReplicationSingle200Response System.Threading.Tasks.Task GetClusterReplicationSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterReplicationSingle /// /// /// Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterReplicationSingle200Response) System.Threading.Tasks.Task> GetClusterReplicationSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterResources /// /// /// Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterResources200Response System.Threading.Tasks.Task GetClusterResourcesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterResources /// /// /// Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterResources200Response) System.Threading.Tasks.Task> GetClusterResourcesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDN /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response System.Threading.Tasks.Task GetClusterSDNAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDN /// /// /// Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) System.Threading.Tasks.Task> GetClusterSDNWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNController /// /// /// Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetClusterSDNControllerAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNController /// /// /// Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetClusterSDNControllerWithHttpInfoAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNControllers /// /// /// SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSDNControllers200Response System.Threading.Tasks.Task GetClusterSDNControllersAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNControllers /// /// /// SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSDNControllers200Response) System.Threading.Tasks.Task> GetClusterSDNControllersWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNVnet /// /// /// Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetClusterSDNVnetAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNVnet /// /// /// Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetClusterSDNVnetWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNVnets /// /// /// SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSDNVnets200Response System.Threading.Tasks.Task GetClusterSDNVnetsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNVnets /// /// /// SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSDNVnets200Response) System.Threading.Tasks.Task> GetClusterSDNVnetsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNZone /// /// /// Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetClusterSDNZoneAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNZone /// /// /// Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetClusterSDNZoneWithHttpInfoAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNZones /// /// /// SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSDNZones200Response System.Threading.Tasks.Task GetClusterSDNZonesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSDNZones /// /// /// SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSDNZones200Response) System.Threading.Tasks.Task> GetClusterSDNZonesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnDns /// /// /// SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnDns200Response System.Threading.Tasks.Task GetClusterSdnDnsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnDns /// /// /// SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnDns200Response) System.Threading.Tasks.Task> GetClusterSdnDnsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnDnsSingle /// /// /// Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterSdnDnsSingleAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnDnsSingle /// /// /// Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterSdnDnsSingleWithHttpInfoAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabrics /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetClusterSdnFabricsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabrics /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsAll /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsAll200Response System.Threading.Tasks.Task GetClusterSdnFabricsAllAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsAll /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsAll200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsAllWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsFabric /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsFabric200Response System.Threading.Tasks.Task GetClusterSdnFabricsFabricAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsFabric /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsFabric200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsFabricWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsFabricSingle200Response System.Threading.Tasks.Task GetClusterSdnFabricsFabricSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsFabricSingle200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsFabricSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsNode /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsNode200Response System.Threading.Tasks.Task GetClusterSdnFabricsNodeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsNode /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsNode200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsNodeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsNodeSingle /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsNode200Response System.Threading.Tasks.Task GetClusterSdnFabricsNodeSingleAsync(string fabricId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsNodeSingle /// /// /// SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsNode200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsNodeSingleWithHttpInfoAsync(string fabricId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsNodeSingleSingle /// /// /// Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetClusterSdnFabricsNodeSingleSingleAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnFabricsNodeSingleSingle /// /// /// Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnIpams /// /// /// SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnIpams200Response System.Threading.Tasks.Task GetClusterSdnIpamsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnIpams /// /// /// SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnIpams200Response) System.Threading.Tasks.Task> GetClusterSdnIpamsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnIpamsSingle /// /// /// Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterSdnIpamsSingleAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnIpamsSingle /// /// /// Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterSdnIpamsSingleWithHttpInfoAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnIpamsSingleStatus /// /// /// List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnIpamsSingleStatus200Response System.Threading.Tasks.Task GetClusterSdnIpamsSingleStatusAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnIpamsSingleStatus /// /// /// List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnIpamsSingleStatus200Response) System.Threading.Tasks.Task> GetClusterSdnIpamsSingleStatusWithHttpInfoAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewallOptions /// /// /// Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnVnetsSingleFirewallOptions200Response System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallOptionsAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewallOptions /// /// /// Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnVnetsSingleFirewallOptions200Response) System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallOptionsWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallRulesAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallRulesWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallRulesSingleAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleSubnets /// /// /// SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetClusterSdnVnetsSingleSubnetsAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleSubnets /// /// /// SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetClusterSdnVnetsSingleSubnetsWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleSubnetsSingle /// /// /// Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetClusterSdnVnetsSingleSubnetsSingleAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterSdnVnetsSingleSubnetsSingle /// /// /// Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterStatus /// /// /// Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterStatus200Response System.Threading.Tasks.Task GetClusterStatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterStatus /// /// /// Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterStatus200Response) System.Threading.Tasks.Task> GetClusterStatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterTasks /// /// /// List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterTasks200Response System.Threading.Tasks.Task GetClusterTasksAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getClusterTasks /// /// /// List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterTasks200Response) System.Threading.Tasks.Task> GetClusterTasksWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getCurrentVMStatus /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCurrentVMStatus200Response System.Threading.Tasks.Task GetCurrentVMStatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getCurrentVMStatus /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCurrentVMStatus200Response) System.Threading.Tasks.Task> GetCurrentVMStatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNode /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodeAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNode /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodeWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodeFirewallAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodeFirewallWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewallOptions /// /// /// Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeFirewallOptions200Response System.Threading.Tasks.Task GetNodeFirewallOptionsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewallOptions /// /// /// Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeFirewallOptions200Response) System.Threading.Tasks.Task> GetNodeFirewallOptionsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response System.Threading.Tasks.Task GetNodeFirewallRuleAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) System.Threading.Tasks.Task> GetNodeFirewallRuleWithHttpInfoAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response System.Threading.Tasks.Task GetNodeFirewallRulesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) System.Threading.Tasks.Task> GetNodeFirewallRulesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeRRD /// /// /// Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response System.Threading.Tasks.Task GetNodeRRDAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeRRD /// /// /// Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) System.Threading.Tasks.Task> GetNodeRRDWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeRRDData /// /// /// Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodeRRDDataAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeRRDData /// /// /// Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodeRRDDataWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDN /// /// /// SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodeSDNAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDN /// /// /// SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodeSDNWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDNZone /// /// /// Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodeSDNZoneAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDNZone /// /// /// Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodeSDNZoneWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDNZoneContent /// /// /// List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeSDNZoneContent200Response System.Threading.Tasks.Task GetNodeSDNZoneContentAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDNZoneContent /// /// /// List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeSDNZoneContent200Response) System.Threading.Tasks.Task> GetNodeSDNZoneContentWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDNZones /// /// /// Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeSDNZones200Response System.Threading.Tasks.Task GetNodeSDNZonesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeSDNZones /// /// /// Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeSDNZones200Response) System.Threading.Tasks.Task> GetNodeSDNZonesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTask /// /// /// getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodeTaskAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTask /// /// /// getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodeTaskWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTaskLog /// /// /// Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodeTaskLogAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTaskLog /// /// /// Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodeTaskLogWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTaskStatus /// /// /// Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeTaskStatus200Response System.Threading.Tasks.Task GetNodeTaskStatusAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTaskStatus /// /// /// Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeTaskStatus200Response) System.Threading.Tasks.Task> GetNodeTaskStatusWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTasks /// /// /// Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeTasks200Response System.Threading.Tasks.Task GetNodeTasksAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodeTasks /// /// /// Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeTasks200Response) System.Threading.Tasks.Task> GetNodeTasksWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodes /// /// /// Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodes200Response System.Threading.Tasks.Task GetNodesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodes /// /// /// Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodes200Response) System.Threading.Tasks.Task> GetNodesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAplinfo /// /// /// Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleAplinfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAplinfo /// /// /// Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleAplinfoWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleApt /// /// /// Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response System.Threading.Tasks.Task GetNodesSingleAptAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleApt /// /// /// Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) System.Threading.Tasks.Task> GetNodesSingleAptWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptChangelog /// /// /// Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetNodesSingleAptChangelogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptChangelog /// /// /// Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetNodesSingleAptChangelogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptRepositories /// /// /// Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleAptRepositories200Response System.Threading.Tasks.Task GetNodesSingleAptRepositoriesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptRepositories /// /// /// Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleAptRepositories200Response) System.Threading.Tasks.Task> GetNodesSingleAptRepositoriesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptUpdate /// /// /// List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleAptUpdate200Response System.Threading.Tasks.Task GetNodesSingleAptUpdateAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptUpdate /// /// /// List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleAptUpdate200Response) System.Threading.Tasks.Task> GetNodesSingleAptUpdateWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptVersions /// /// /// Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleAptVersions200Response System.Threading.Tasks.Task GetNodesSingleAptVersionsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleAptVersions /// /// /// Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleAptVersions200Response) System.Threading.Tasks.Task> GetNodesSingleAptVersionsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilities /// /// /// Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCapabilitiesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilities /// /// /// Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCapabilitiesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemu /// /// /// QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemu /// /// /// QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuCpu /// /// /// List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuCpu200Response System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuCpuAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuCpu /// /// /// List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuCpu200Response) System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuCpuWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuCpuflags /// /// /// List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuCpuflags200Response System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuCpuflagsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuCpuflags /// /// /// List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuCpuflags200Response) System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuCpuflagsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuMachines /// /// /// Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuMachines200Response System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuMachinesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuMachines /// /// /// Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuMachines200Response) System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuMachinesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuMigration /// /// /// Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuMigration200Response System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuMigrationAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCapabilitiesQemuMigration /// /// /// Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuMigration200Response) System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuMigrationWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCeph /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCephAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCeph /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCephWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfg /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCephCfgAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfg /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCephCfgWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfgDb /// /// /// Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephCfgDb200Response System.Threading.Tasks.Task GetNodesSingleCephCfgDbAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfgDb /// /// /// Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephCfgDb200Response) System.Threading.Tasks.Task> GetNodesSingleCephCfgDbWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfgRaw /// /// /// Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetNodesSingleCephCfgRawAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfgRaw /// /// /// Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetNodesSingleCephCfgRawWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfgValue /// /// /// Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephCfgValue200Response System.Threading.Tasks.Task GetNodesSingleCephCfgValueAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCfgValue /// /// /// Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephCfgValue200Response) System.Threading.Tasks.Task> GetNodesSingleCephCfgValueWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCmdsafety /// /// /// Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephCmdsafety200Response System.Threading.Tasks.Task GetNodesSingleCephCmdsafetyAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCmdsafety /// /// /// Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephCmdsafety200Response) System.Threading.Tasks.Task> GetNodesSingleCephCmdsafetyWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCrush /// /// /// Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetNodesSingleCephCrushAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephCrush /// /// /// Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetNodesSingleCephCrushWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephFs /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephFs200Response System.Threading.Tasks.Task GetNodesSingleCephFsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephFs /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephFs200Response) System.Threading.Tasks.Task> GetNodesSingleCephFsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephLog /// /// /// Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodesSingleCephLogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephLog /// /// /// Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodesSingleCephLogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephMds /// /// /// MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephMds200Response System.Threading.Tasks.Task GetNodesSingleCephMdsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephMds /// /// /// MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephMds200Response) System.Threading.Tasks.Task> GetNodesSingleCephMdsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephMgr /// /// /// MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephMgr200Response System.Threading.Tasks.Task GetNodesSingleCephMgrAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephMgr /// /// /// MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephMgr200Response) System.Threading.Tasks.Task> GetNodesSingleCephMgrWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephMon /// /// /// Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephMon200Response System.Threading.Tasks.Task GetNodesSingleCephMonAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephMon /// /// /// Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephMon200Response) System.Threading.Tasks.Task> GetNodesSingleCephMonWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsd /// /// /// Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleCephOsdAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsd /// /// /// Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleCephOsdWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsdSingle /// /// /// OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCephOsdSingleAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsdSingle /// /// /// OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCephOsdSingleWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsdSingleLvinfo /// /// /// Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephOsdSingleLvinfo200Response System.Threading.Tasks.Task GetNodesSingleCephOsdSingleLvinfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsdSingleLvinfo /// /// /// Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephOsdSingleLvinfo200Response) System.Threading.Tasks.Task> GetNodesSingleCephOsdSingleLvinfoWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsdSingleMetadata /// /// /// Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephOsdSingleMetadata200Response System.Threading.Tasks.Task GetNodesSingleCephOsdSingleMetadataAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephOsdSingleMetadata /// /// /// Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephOsdSingleMetadata200Response) System.Threading.Tasks.Task> GetNodesSingleCephOsdSingleMetadataWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephPool /// /// /// List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephPool200Response System.Threading.Tasks.Task GetNodesSingleCephPoolAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephPool /// /// /// List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephPool200Response) System.Threading.Tasks.Task> GetNodesSingleCephPoolWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephPoolSingle /// /// /// Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCephPoolSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephPoolSingle /// /// /// Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCephPoolSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephPoolSingleStatus /// /// /// Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephPoolSingleStatus200Response System.Threading.Tasks.Task GetNodesSingleCephPoolSingleStatusAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephPoolSingleStatus /// /// /// Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephPoolSingleStatus200Response) System.Threading.Tasks.Task> GetNodesSingleCephPoolSingleStatusWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephRules /// /// /// List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephRules200Response System.Threading.Tasks.Task GetNodesSingleCephRulesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephRules /// /// /// List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephRules200Response) System.Threading.Tasks.Task> GetNodesSingleCephRulesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleCephStatusAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCephStatus /// /// /// Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleCephStatusWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCertificates /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCertificatesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCertificates /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCertificatesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCertificatesAcme /// /// /// ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleCertificatesAcmeAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCertificatesAcme /// /// /// ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleCertificatesAcmeWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCertificatesInfo /// /// /// Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCertificatesInfo200Response System.Threading.Tasks.Task GetNodesSingleCertificatesInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleCertificatesInfo /// /// /// Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCertificatesInfo200Response) System.Threading.Tasks.Task> GetNodesSingleCertificatesInfoWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleConfig /// /// /// Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleConfig200Response System.Threading.Tasks.Task GetNodesSingleConfigAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleConfig /// /// /// Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleConfig200Response) System.Threading.Tasks.Task> GetNodesSingleConfigWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisks /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleDisksAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisks /// /// /// Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleDisksWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksDirectory /// /// /// PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksDirectory200Response System.Threading.Tasks.Task GetNodesSingleDisksDirectoryAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksDirectory /// /// /// PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksDirectory200Response) System.Threading.Tasks.Task> GetNodesSingleDisksDirectoryWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksList /// /// /// List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksList200Response System.Threading.Tasks.Task GetNodesSingleDisksListAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksList /// /// /// List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksList200Response) System.Threading.Tasks.Task> GetNodesSingleDisksListWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksLvm /// /// /// List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksLvm200Response System.Threading.Tasks.Task GetNodesSingleDisksLvmAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksLvm /// /// /// List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksLvm200Response) System.Threading.Tasks.Task> GetNodesSingleDisksLvmWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksLvmthin /// /// /// List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksLvmthin200Response System.Threading.Tasks.Task GetNodesSingleDisksLvmthinAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksLvmthin /// /// /// List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksLvmthin200Response) System.Threading.Tasks.Task> GetNodesSingleDisksLvmthinWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksSmart /// /// /// Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksSmart200Response System.Threading.Tasks.Task GetNodesSingleDisksSmartAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksSmart /// /// /// Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksSmart200Response) System.Threading.Tasks.Task> GetNodesSingleDisksSmartWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksZfs /// /// /// List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksZfs200Response System.Threading.Tasks.Task GetNodesSingleDisksZfsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksZfs /// /// /// List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksZfs200Response) System.Threading.Tasks.Task> GetNodesSingleDisksZfsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksZfsSingle /// /// /// Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksZfsSingle200Response System.Threading.Tasks.Task GetNodesSingleDisksZfsSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDisksZfsSingle /// /// /// Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksZfsSingle200Response) System.Threading.Tasks.Task> GetNodesSingleDisksZfsSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDns /// /// /// Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDns200Response System.Threading.Tasks.Task GetNodesSingleDnsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleDns /// /// /// Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDns200Response) System.Threading.Tasks.Task> GetNodesSingleDnsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodesSingleFirewallLogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodesSingleFirewallLogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardware /// /// /// Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardware200Response System.Threading.Tasks.Task GetNodesSingleHardwareAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardware /// /// /// Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardware200Response) System.Threading.Tasks.Task> GetNodesSingleHardwareWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwarePci /// /// /// List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardwarePci200Response System.Threading.Tasks.Task GetNodesSingleHardwarePciAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwarePci /// /// /// List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardwarePci200Response) System.Threading.Tasks.Task> GetNodesSingleHardwarePciWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwarePciSingle /// /// /// Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScan200Response System.Threading.Tasks.Task GetNodesSingleHardwarePciSingleAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwarePciSingle /// /// /// Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScan200Response) System.Threading.Tasks.Task> GetNodesSingleHardwarePciSingleWithHttpInfoAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwarePciSingleMdev /// /// /// List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardwarePciSingleMdev200Response System.Threading.Tasks.Task GetNodesSingleHardwarePciSingleMdevAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwarePciSingleMdev /// /// /// List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardwarePciSingleMdev200Response) System.Threading.Tasks.Task> GetNodesSingleHardwarePciSingleMdevWithHttpInfoAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwareUsb /// /// /// List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardwareUsb200Response System.Threading.Tasks.Task GetNodesSingleHardwareUsbAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHardwareUsb /// /// /// List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardwareUsb200Response) System.Threading.Tasks.Task> GetNodesSingleHardwareUsbWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHosts /// /// /// Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHosts200Response System.Threading.Tasks.Task GetNodesSingleHostsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleHosts /// /// /// Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHosts200Response) System.Threading.Tasks.Task> GetNodesSingleHostsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleJournal /// /// /// Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleJournal200Response System.Threading.Tasks.Task GetNodesSingleJournalAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleJournal /// /// /// Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleJournal200Response) System.Threading.Tasks.Task> GetNodesSingleJournalWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxc /// /// /// LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxc200Response System.Threading.Tasks.Task GetNodesSingleLxcAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxc /// /// /// LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxc200Response) System.Threading.Tasks.Task> GetNodesSingleLxcWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleConfig /// /// /// Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleConfig200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleConfigAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleConfig /// /// /// Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleConfig200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleConfigWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleFeature200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFeatureAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleFeature200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFeatureWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallAliases200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallAliasesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallAliases200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallIpset /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSets200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallIpsetAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallIpset /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSets200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallIpsetWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallIpsetSingle /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSet200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallIpsetSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallIpsetSingle /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSet200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallIpsetSingleSingleAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallLogAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallLogWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMFirewallOptions200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallOptionsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMFirewallOptions200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallOptionsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallRefs200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallRefsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallRefs200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallRefsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallRulesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallRulesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallRulesSingleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleFirewallRulesSingle /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleInterfaces /// /// /// Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleInterfaces200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleInterfacesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleInterfaces /// /// /// Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleInterfaces200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleInterfacesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleMigrate /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleMigrate200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleMigrateAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleMigrate /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleMigrate200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleMigrateWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleMtunnelwebsocket200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleMtunnelwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleMtunnelwebsocket200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleMtunnelwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSinglePending /// /// /// Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSinglePending200Response System.Threading.Tasks.Task GetNodesSingleLxcSinglePendingAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSinglePending /// /// /// Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSinglePending200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSinglePendingWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleRrd /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleRrdAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleRrd /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleRrdWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleRrddata /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleRrddataAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleRrddata /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleRrddataWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleSnapshot /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleSnapshot200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleSnapshotAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleSnapshot /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleSnapshot200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleSnapshotWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleSnapshotSingle /// /// /// getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleSnapshotSingleAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleSnapshotSingle /// /// /// getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleSnapshotSingleWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleSnapshotSingleConfigAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleStatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleStatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleStatusCurrent /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleStatusCurrent200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleStatusCurrentAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleStatusCurrent /// /// /// Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleStatusCurrent200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleStatusCurrentWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleVncwebsocket200Response System.Threading.Tasks.Task GetNodesSingleLxcSingleVncwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleLxcSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleVncwebsocket200Response) System.Threading.Tasks.Task> GetNodesSingleLxcSingleVncwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleNetstat /// /// /// Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleNetstatAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleNetstat /// /// /// Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleNetstatWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleNetwork /// /// /// List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleNetwork200Response System.Threading.Tasks.Task GetNodesSingleNetworkAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleNetwork /// /// /// List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleNetwork200Response) System.Threading.Tasks.Task> GetNodesSingleNetworkWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleNetworkSingle /// /// /// Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleNetworkSingle200Response System.Threading.Tasks.Task GetNodesSingleNetworkSingleAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleNetworkSingle /// /// /// Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleNetworkSingle200Response) System.Threading.Tasks.Task> GetNodesSingleNetworkSingleWithHttpInfoAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgent /// /// /// QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgent /// /// /// QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentExecstatus /// /// /// Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleAgentExecstatus200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentExecstatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentExecstatus /// /// /// Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleAgentExecstatus200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentExecstatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentFileread /// /// /// Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleAgentFileread200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentFilereadAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentFileread /// /// /// Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleAgentFileread200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentFilereadWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetfsinfo /// /// /// Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetfsinfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetfsinfo /// /// /// Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetfsinfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGethostname /// /// /// Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGethostnameAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGethostname /// /// /// Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGethostnameWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo /// /// /// Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetmemoryblockinfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo /// /// /// Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetmemoryblockinfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetmemoryblocks /// /// /// Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetmemoryblocksAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetmemoryblocks /// /// /// Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetmemoryblocksWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetosinfo /// /// /// Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetosinfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetosinfo /// /// /// Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetosinfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGettime /// /// /// Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGettimeAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGettime /// /// /// Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGettimeWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGettimezone /// /// /// Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGettimezoneAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGettimezone /// /// /// Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGettimezoneWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetusers /// /// /// Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetusersAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetusers /// /// /// Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetusersWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetvcpus /// /// /// Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetvcpusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentGetvcpus /// /// /// Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetvcpusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentInfo /// /// /// Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentInfo /// /// /// Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentInfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces /// /// /// Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentNetworkgetinterfacesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces /// /// /// Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentNetworkgetinterfacesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleCloudinit /// /// /// Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleCloudinit200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleCloudinitAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleCloudinit /// /// /// Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleCloudinit200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleCloudinitWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleCloudinitDump /// /// /// Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleCloudinitDumpAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleCloudinitDump /// /// /// Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleCloudinitDumpWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFeature200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleFeatureAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFeature /// /// /// Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFeature200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleFeatureWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallAliases200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallAliasesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallAliases /// /// /// List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallAliases200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallLogAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallLog /// /// /// Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallLogWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallRefs200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallRefsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleFirewallRefs /// /// /// Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallRefs200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallRefsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleMtunnelwebsocket200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleMtunnelwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleMtunnelwebsocket /// /// /// Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleMtunnelwebsocket200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleMtunnelwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleVncwebsocket200Response System.Threading.Tasks.Task GetNodesSingleQemuSingleVncwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQemuSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleVncwebsocket200Response) System.Threading.Tasks.Task> GetNodesSingleQemuSingleVncwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQueryocirepotags /// /// /// List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleJournal200Response System.Threading.Tasks.Task GetNodesSingleQueryocirepotagsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQueryocirepotags /// /// /// List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleJournal200Response) System.Threading.Tasks.Task> GetNodesSingleQueryocirepotagsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQueryurlmetadata /// /// /// Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQueryurlmetadata200Response System.Threading.Tasks.Task GetNodesSingleQueryurlmetadataAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleQueryurlmetadata /// /// /// Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQueryurlmetadata200Response) System.Threading.Tasks.Task> GetNodesSingleQueryurlmetadataWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplication /// /// /// List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response System.Threading.Tasks.Task GetNodesSingleReplicationAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplication /// /// /// List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) System.Threading.Tasks.Task> GetNodesSingleReplicationWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplicationSingle /// /// /// Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleReplicationSingleAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplicationSingle /// /// /// Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleReplicationSingleWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplicationSingleLog /// /// /// Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodesSingleReplicationSingleLogAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplicationSingleLog /// /// /// Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodesSingleReplicationSingleLogWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplicationSingleStatus /// /// /// Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetNodesSingleReplicationSingleStatusAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReplicationSingleStatus /// /// /// Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetNodesSingleReplicationSingleStatusWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReport /// /// /// Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetNodesSingleReportAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleReport /// /// /// Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetNodesSingleReportWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScan /// /// /// Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScan200Response System.Threading.Tasks.Task GetNodesSingleScanAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScan /// /// /// Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScan200Response) System.Threading.Tasks.Task> GetNodesSingleScanWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanCifs /// /// /// Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanCifs200Response System.Threading.Tasks.Task GetNodesSingleScanCifsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanCifs /// /// /// Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanCifs200Response) System.Threading.Tasks.Task> GetNodesSingleScanCifsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanIscsi /// /// /// Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanIscsi200Response System.Threading.Tasks.Task GetNodesSingleScanIscsiAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanIscsi /// /// /// Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanIscsi200Response) System.Threading.Tasks.Task> GetNodesSingleScanIscsiWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanLvm /// /// /// List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanLvm200Response System.Threading.Tasks.Task GetNodesSingleScanLvmAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanLvm /// /// /// List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanLvm200Response) System.Threading.Tasks.Task> GetNodesSingleScanLvmWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanLvmthin /// /// /// List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanLvmthin200Response System.Threading.Tasks.Task GetNodesSingleScanLvmthinAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanLvmthin /// /// /// List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanLvmthin200Response) System.Threading.Tasks.Task> GetNodesSingleScanLvmthinWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanNfs /// /// /// Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanNfs200Response System.Threading.Tasks.Task GetNodesSingleScanNfsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanNfs /// /// /// Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanNfs200Response) System.Threading.Tasks.Task> GetNodesSingleScanNfsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanPbs /// /// /// Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanPbs200Response System.Threading.Tasks.Task GetNodesSingleScanPbsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanPbs /// /// /// Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanPbs200Response) System.Threading.Tasks.Task> GetNodesSingleScanPbsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanZfs /// /// /// Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanZfs200Response System.Threading.Tasks.Task GetNodesSingleScanZfsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleScanZfs /// /// /// Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanZfs200Response) System.Threading.Tasks.Task> GetNodesSingleScanZfsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingle /// /// /// Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingle /// /// /// Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingleInterfaces /// /// /// Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnFabricsSingleInterfaces200Response System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleInterfacesAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingleInterfaces /// /// /// Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnFabricsSingleInterfaces200Response) System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleInterfacesWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingleNeighbors /// /// /// Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnFabricsSingleNeighbors200Response System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleNeighborsAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingleNeighbors /// /// /// Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnFabricsSingleNeighbors200Response) System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleNeighborsWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingleRoutes /// /// /// Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnFabricsSingleRoutes200Response System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleRoutesAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnFabricsSingleRoutes /// /// /// Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnFabricsSingleRoutes200Response) System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleRoutesWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnVnetsSingle /// /// /// getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodesSingleSdnVnetsSingleAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnVnetsSingle /// /// /// getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodesSingleSdnVnetsSingleWithHttpInfoAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnVnetsSingleMacvrf /// /// /// Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnVnetsSingleMacvrf200Response System.Threading.Tasks.Task GetNodesSingleSdnVnetsSingleMacvrfAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnVnetsSingleMacvrf /// /// /// Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnVnetsSingleMacvrf200Response) System.Threading.Tasks.Task> GetNodesSingleSdnVnetsSingleMacvrfWithHttpInfoAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnZonesSingleBridges /// /// /// Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnZonesSingleBridges200Response System.Threading.Tasks.Task GetNodesSingleSdnZonesSingleBridgesAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnZonesSingleBridges /// /// /// Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnZonesSingleBridges200Response) System.Threading.Tasks.Task> GetNodesSingleSdnZonesSingleBridgesWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnZonesSingleIpvrf /// /// /// Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnZonesSingleIpvrf200Response System.Threading.Tasks.Task GetNodesSingleSdnZonesSingleIpvrfAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSdnZonesSingleIpvrf /// /// /// Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnZonesSingleIpvrf200Response) System.Threading.Tasks.Task> GetNodesSingleSdnZonesSingleIpvrfWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleServices /// /// /// Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleServices200Response System.Threading.Tasks.Task GetNodesSingleServicesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleServices /// /// /// Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleServices200Response) System.Threading.Tasks.Task> GetNodesSingleServicesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleServicesSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodesSingleServicesSingleAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleServicesSingle /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodesSingleServicesSingleWithHttpInfoAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleServicesSingleState /// /// /// Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleServicesSingleState200Response System.Threading.Tasks.Task GetNodesSingleServicesSingleStateAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleServicesSingleState /// /// /// Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleServicesSingleState200Response) System.Threading.Tasks.Task> GetNodesSingleServicesSingleStateWithHttpInfoAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStatus /// /// /// Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStatus200Response System.Threading.Tasks.Task GetNodesSingleStatusAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStatus /// /// /// Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStatus200Response) System.Threading.Tasks.Task> GetNodesSingleStatusWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorage /// /// /// Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorage200Response System.Threading.Tasks.Task GetNodesSingleStorageAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorage /// /// /// Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorage200Response) System.Threading.Tasks.Task> GetNodesSingleStorageWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingle /// /// /// getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingle /// /// /// getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleContent /// /// /// List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleContent200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleContentAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleContent /// /// /// List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleContent200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleContentWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleContentSingle /// /// /// Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleContentSingle200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleContentSingle /// /// /// Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleContentSingle200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleFilerestoreDownload /// /// /// Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleFilerestoreDownload200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleFilerestoreDownloadAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleFilerestoreDownload /// /// /// Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleFilerestoreDownload200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleFilerestoreDownloadWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleFilerestoreList /// /// /// List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleFilerestoreList200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleFilerestoreListAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleFilerestoreList /// /// /// List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleFilerestoreList200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleFilerestoreListWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleImportmetadata /// /// /// Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleImportmetadata200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleImportmetadataAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleImportmetadata /// /// /// Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleImportmetadata200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleImportmetadataWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSinglePrunebackups /// /// /// Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSinglePrunebackups200Response System.Threading.Tasks.Task GetNodesSingleStorageSinglePrunebackupsAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSinglePrunebackups /// /// /// Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSinglePrunebackups200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSinglePrunebackupsWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleRrd /// /// /// Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleRrdAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleRrd /// /// /// Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleRrdWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleRrddata /// /// /// Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleRrddataAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleRrddata /// /// /// Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleRrddataWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleStatus /// /// /// Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleStatus200Response System.Threading.Tasks.Task GetNodesSingleStorageSingleStatusAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleStorageSingleStatus /// /// /// Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleStatus200Response) System.Threading.Tasks.Task> GetNodesSingleStorageSingleStatusWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSubscription /// /// /// Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSubscription200Response System.Threading.Tasks.Task GetNodesSingleSubscriptionAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSubscription /// /// /// Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSubscription200Response) System.Threading.Tasks.Task> GetNodesSingleSubscriptionWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSyslog /// /// /// Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response System.Threading.Tasks.Task GetNodesSingleSyslogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleSyslog /// /// /// Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) System.Threading.Tasks.Task> GetNodesSingleSyslogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleTime /// /// /// Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleTime200Response System.Threading.Tasks.Task GetNodesSingleTimeAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleTime /// /// /// Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleTime200Response) System.Threading.Tasks.Task> GetNodesSingleTimeWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVersion /// /// /// API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleVersion200Response System.Threading.Tasks.Task GetNodesSingleVersionAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVersion /// /// /// API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleVersion200Response) System.Threading.Tasks.Task> GetNodesSingleVersionWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleVncwebsocket200Response System.Threading.Tasks.Task GetNodesSingleVncwebsocketAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVncwebsocket /// /// /// Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleVncwebsocket200Response) System.Threading.Tasks.Task> GetNodesSingleVncwebsocketWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVzdumpDefaults /// /// /// Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleVzdumpDefaults200Response System.Threading.Tasks.Task GetNodesSingleVzdumpDefaultsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVzdumpDefaults /// /// /// Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleVzdumpDefaults200Response) System.Threading.Tasks.Task> GetNodesSingleVzdumpDefaultsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVzdumpExtractconfig /// /// /// Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task GetNodesSingleVzdumpExtractconfigAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getNodesSingleVzdumpExtractconfig /// /// /// Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> GetNodesSingleVzdumpExtractconfigWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getPool /// /// /// Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetPool200Response System.Threading.Tasks.Task GetPoolAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getPool /// /// /// Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetPool200Response) System.Threading.Tasks.Task> GetPoolWithHttpInfoAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getPools /// /// /// List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetPools200Response System.Threading.Tasks.Task GetPoolsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getPools /// /// /// List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetPools200Response) System.Threading.Tasks.Task> GetPoolsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getStorage /// /// /// Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetStorage200Response System.Threading.Tasks.Task GetStorageAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getStorage /// /// /// Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetStorage200Response) System.Threading.Tasks.Task> GetStorageWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getStorageSingle /// /// /// Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetStorageSingleAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getStorageSingle /// /// /// Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetStorageSingleWithHttpInfoAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVM /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetVMAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVM /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetVMWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMConfig /// /// /// Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMConfig200Response System.Threading.Tasks.Task GetVMConfigAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMConfig /// /// /// Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMConfig200Response) System.Threading.Tasks.Task> GetVMConfigWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMConfigPending /// /// /// Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMConfigPending200Response System.Threading.Tasks.Task GetVMConfigPendingAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMConfigPending /// /// /// Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMConfigPending200Response) System.Threading.Tasks.Task> GetVMConfigPendingWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetVMFirewallAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewall /// /// /// Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetVMFirewallWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSet200Response System.Threading.Tasks.Task GetVMFirewallIPSetAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallIPSet /// /// /// List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSet200Response) System.Threading.Tasks.Task> GetVMFirewallIPSetWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetVMFirewallIPSetIPAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallIPSetIP /// /// /// Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetVMFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSets200Response System.Threading.Tasks.Task GetVMFirewallIPSetsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallIPSets /// /// /// List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSets200Response) System.Threading.Tasks.Task> GetVMFirewallIPSetsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMFirewallOptions200Response System.Threading.Tasks.Task GetVMFirewallOptionsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallOptions /// /// /// Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMFirewallOptions200Response) System.Threading.Tasks.Task> GetVMFirewallOptionsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response System.Threading.Tasks.Task GetVMFirewallRuleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallRule /// /// /// Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) System.Threading.Tasks.Task> GetVMFirewallRuleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response System.Threading.Tasks.Task GetVMFirewallRulesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMFirewallRules /// /// /// List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) System.Threading.Tasks.Task> GetVMFirewallRulesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMRRD /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response System.Threading.Tasks.Task GetVMRRDAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMRRD /// /// /// Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) System.Threading.Tasks.Task> GetVMRRDWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMRRDData /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetVMRRDDataAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMRRDData /// /// /// Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetVMRRDDataWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMSnapshot /// /// /// getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response System.Threading.Tasks.Task GetVMSnapshotAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMSnapshot /// /// /// getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) System.Threading.Tasks.Task> GetVMSnapshotWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMSnapshotConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response System.Threading.Tasks.Task GetVMSnapshotConfigAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMSnapshotConfig /// /// /// Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) System.Threading.Tasks.Task> GetVMSnapshotConfigWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMSnapshots /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMSnapshots200Response System.Threading.Tasks.Task GetVMSnapshotsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMSnapshots /// /// /// List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMSnapshots200Response) System.Threading.Tasks.Task> GetVMSnapshotsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response System.Threading.Tasks.Task GetVMStatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMStatus /// /// /// Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) System.Threading.Tasks.Task> GetVMStatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMs /// /// /// Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMs200Response System.Threading.Tasks.Task GetVMsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVMs /// /// /// Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMs200Response) System.Threading.Tasks.Task> GetVMsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVersion /// /// /// API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVersion200Response System.Threading.Tasks.Task GetVersionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// getVersion /// /// /// API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVersion200Response) System.Threading.Tasks.Task> GetVersionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// migrateVM /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of MigrateVM200Response System.Threading.Tasks.Task MigrateVMAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// migrateVM /// /// /// Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (MigrateVM200Response) System.Threading.Tasks.Task> MigrateVMWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// rebootVM /// /// /// Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task RebootVMAsync(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// rebootVM /// /// /// Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> RebootVMWithHttpInfoAsync(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeClusterFirewallGroupRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task RemoveClusterFirewallGroupRuleAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeClusterFirewallGroupRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> RemoveClusterFirewallGroupRuleWithHttpInfoAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeClusterFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task RemoveClusterFirewallIPSetIPAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeClusterFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> RemoveClusterFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeClusterFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task RemoveClusterFirewallRuleAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeClusterFirewallRule /// /// /// Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> RemoveClusterFirewallRuleWithHttpInfoAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeVMFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task RemoveVMFirewallIPSetIPAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// removeVMFirewallIPSetIP /// /// /// Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> RemoveVMFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// resetVM /// /// /// Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task ResetVMAsync(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// resetVM /// /// /// Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> ResetVMWithHttpInfoAsync(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// resizeVMDisk /// /// /// Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task ResizeVMDiskAsync(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// resizeVMDisk /// /// /// Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> ResizeVMDiskWithHttpInfoAsync(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// resumeVM /// /// /// Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task ResumeVMAsync(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// resumeVM /// /// /// Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> ResumeVMWithHttpInfoAsync(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// rollbackVMSnapshot /// /// /// Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task RollbackVMSnapshotAsync(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// rollbackVMSnapshot /// /// /// Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> RollbackVMSnapshotWithHttpInfoAsync(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// shutdownVM /// /// /// Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task ShutdownVMAsync(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// shutdownVM /// /// /// Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> ShutdownVMWithHttpInfoAsync(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// startVM /// /// /// Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task StartVMAsync(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// startVM /// /// /// Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> StartVMWithHttpInfoAsync(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// stopNodeTask /// /// /// Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task StopNodeTaskAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// stopNodeTask /// /// /// Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> StopNodeTaskWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// stopVM /// /// /// Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task StopVMAsync(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// stopVM /// /// /// Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> StopVMWithHttpInfoAsync(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// suspendVM /// /// /// Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task SuspendVMAsync(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// suspendVM /// /// /// Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> SuspendVMWithHttpInfoAsync(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// unlinkVMDiskImages /// /// /// Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UnlinkVMDiskImagesAsync(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// unlinkVMDiskImages /// /// /// Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UnlinkVMDiskImagesWithHttpInfoAsync(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessAcl /// /// /// Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessAclAsync(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessAcl /// /// /// Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessAclWithHttpInfoAsync(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessDomainsSingle /// /// /// Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessDomainsSingleAsync(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessDomainsSingle /// /// /// Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessDomainsSingleWithHttpInfoAsync(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessGroupsSingle /// /// /// Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessGroupsSingleAsync(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessGroupsSingle /// /// /// Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessGroupsSingleWithHttpInfoAsync(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessPassword /// /// /// Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessPasswordAsync(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessPassword /// /// /// Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessPasswordWithHttpInfoAsync(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessRolesSingle /// /// /// Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessRolesSingleAsync(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessRolesSingle /// /// /// Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessRolesSingleWithHttpInfoAsync(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessTfaSingleSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessTfaSingleSingleAsync(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessTfaSingleSingle /// /// /// Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessTfaSingleSingleWithHttpInfoAsync(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessUsersSingle /// /// /// Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateAccessUsersSingleAsync(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessUsersSingle /// /// /// Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateAccessUsersSingleWithHttpInfoAsync(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessUsersSingleTokenSingle /// /// /// Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of UpdateAccessUsersSingleTokenSingle200Response System.Threading.Tasks.Task UpdateAccessUsersSingleTokenSingleAsync(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessUsersSingleTokenSingle /// /// /// Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (UpdateAccessUsersSingleTokenSingle200Response) System.Threading.Tasks.Task> UpdateAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessUsersSingleUnlocktfa /// /// /// Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephFlagsSingle200Response System.Threading.Tasks.Task UpdateAccessUsersSingleUnlocktfaAsync(string userid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateAccessUsersSingleUnlocktfa /// /// /// Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephFlagsSingle200Response) System.Threading.Tasks.Task> UpdateAccessUsersSingleUnlocktfaWithHttpInfoAsync(string userid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterAcmeAccountSingle /// /// /// Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterAcmeAccountSingleAsync(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterAcmeAccountSingle /// /// /// Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterAcmeAccountSingleWithHttpInfoAsync(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterAcmePluginsSingle /// /// /// Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterAcmePluginsSingleAsync(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterAcmePluginsSingle /// /// /// Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterAcmePluginsSingleWithHttpInfoAsync(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterBackupSingle /// /// /// Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterBackupSingleAsync(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterBackupSingle /// /// /// Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterBackupSingleWithHttpInfoAsync(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterCephFlags /// /// /// Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterCephFlagsAsync(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterCephFlags /// /// /// Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterCephFlagsWithHttpInfoAsync(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterCephFlagsSingle /// /// /// Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterCephFlagsSingleAsync(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterCephFlagsSingle /// /// /// Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterCephFlagsSingleWithHttpInfoAsync(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterFirewallAliasesSingleAsync(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterFirewallAliasesSingleWithHttpInfoAsync(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallGroupRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterFirewallGroupRuleAsync(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallGroupRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterFirewallGroupRuleWithHttpInfoAsync(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterFirewallIPSetIPAsync(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterFirewallOptionsAsync(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterFirewallOptionsWithHttpInfoAsync(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterFirewallRuleAsync(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterFirewallRuleWithHttpInfoAsync(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterHaGroupsSingle /// /// /// Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterHaGroupsSingleAsync(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterHaGroupsSingle /// /// /// Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterHaGroupsSingleWithHttpInfoAsync(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterHaResourcesSingle /// /// /// Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterHaResourcesSingleAsync(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterHaResourcesSingle /// /// /// Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterHaResourcesSingleWithHttpInfoAsync(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterHaRulesSingle /// /// /// Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterHaRulesSingleAsync(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterHaRulesSingle /// /// /// Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterHaRulesSingleWithHttpInfoAsync(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterJobsRealmsyncSingle /// /// /// Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterJobsRealmsyncSingleAsync(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterJobsRealmsyncSingle /// /// /// Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMappingDirSingle /// /// /// Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterMappingDirSingleAsync(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMappingDirSingle /// /// /// Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterMappingDirSingleWithHttpInfoAsync(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMappingPciSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterMappingPciSingleAsync(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMappingPciSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterMappingPciSingleWithHttpInfoAsync(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMappingUsbSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterMappingUsbSingleAsync(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMappingUsbSingle /// /// /// Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterMappingUsbSingleWithHttpInfoAsync(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMetricsServerSingle /// /// /// Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterMetricsServerSingleAsync(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterMetricsServerSingle /// /// /// Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterMetricsServerSingleWithHttpInfoAsync(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsGotifySingle /// /// /// Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsGotifySingleAsync(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsGotifySingle /// /// /// Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsSendmailSingle /// /// /// Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsSendmailSingleAsync(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsSendmailSingle /// /// /// Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsSmtpSingle /// /// /// Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsSmtpSingleAsync(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsSmtpSingle /// /// /// Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsWebhookSingle /// /// /// Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsWebhookSingleAsync(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsEndpointsWebhookSingle /// /// /// Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsMatchersSingle /// /// /// Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterNotificationsMatchersSingleAsync(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterNotificationsMatchersSingle /// /// /// Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterNotificationsMatchersSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterOptions /// /// /// Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterOptionsAsync(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterOptions /// /// /// Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterOptionsWithHttpInfoAsync(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterReplicationSingle /// /// /// Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterReplicationSingleAsync(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterReplicationSingle /// /// /// Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterReplicationSingleWithHttpInfoAsync(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDN /// /// /// Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSDNAsync(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDN /// /// /// Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSDNWithHttpInfoAsync(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDNController /// /// /// Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSDNControllerAsync(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDNController /// /// /// Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSDNControllerWithHttpInfoAsync(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDNVnet /// /// /// Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSDNVnetAsync(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDNVnet /// /// /// Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSDNVnetWithHttpInfoAsync(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDNZone /// /// /// Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSDNZoneAsync(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSDNZone /// /// /// Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSDNZoneWithHttpInfoAsync(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnDnsSingle /// /// /// Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnDnsSingleAsync(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnDnsSingle /// /// /// Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnDnsSingleWithHttpInfoAsync(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnFabricsFabricSingleAsync(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnFabricsFabricSingle /// /// /// Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnFabricsFabricSingleWithHttpInfoAsync(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnFabricsNodeSingleSingle /// /// /// Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnFabricsNodeSingleSingleAsync(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnFabricsNodeSingleSingle /// /// /// Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnIpamsSingle /// /// /// Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnIpamsSingleAsync(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnIpamsSingle /// /// /// Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnIpamsSingleWithHttpInfoAsync(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleFirewallOptionsAsync(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleFirewallOptionsWithHttpInfoAsync(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleFirewallRulesSingleAsync(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleIps /// /// /// Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleIpsAsync(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleIps /// /// /// Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleIpsWithHttpInfoAsync(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleSubnetsSingle /// /// /// Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleSubnetsSingleAsync(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateClusterSdnVnetsSingleSubnetsSingle /// /// /// Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodeFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodeFirewallOptionsAsync(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodeFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodeFirewallOptionsWithHttpInfoAsync(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodeFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodeFirewallRuleAsync(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodeFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodeFirewallRuleWithHttpInfoAsync(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleAptRepositories /// /// /// Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleAptRepositoriesAsync(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleAptRepositories /// /// /// Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleAptRepositoriesWithHttpInfoAsync(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleCephPoolSingle /// /// /// Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleCephPoolSingleAsync(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleCephPoolSingle /// /// /// Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleCephPoolSingleWithHttpInfoAsync(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleCertificatesAcmeCertificate /// /// /// Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleCertificatesAcmeCertificateAsync(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleCertificatesAcmeCertificate /// /// /// Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleConfig /// /// /// Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleConfigAsync(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleConfig /// /// /// Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleConfigWithHttpInfoAsync(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleDisksWipedisk /// /// /// Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleDisksWipediskAsync(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleDisksWipedisk /// /// /// Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleDisksWipediskWithHttpInfoAsync(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleDns /// /// /// Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleDnsAsync(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleDns /// /// /// Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleDnsWithHttpInfoAsync(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleConfig /// /// /// Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleConfigAsync(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleConfig /// /// /// Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleConfigWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallAliasesSingleAsync(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleAsync(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallOptionsAsync(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallOptionsWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallRulesSingleAsync(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleFirewallRulesSingle /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleResize /// /// /// Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleResizeAsync(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleResize /// /// /// Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleResizeWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleLxcSingleSnapshotSingleConfigAsync(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleLxcSingleSnapshotSingleConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfoAsync(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleNetwork /// /// /// Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleNetworkAsync(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleNetwork /// /// /// Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleNetworkWithHttpInfoAsync(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleNetworkSingle /// /// /// Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleNetworkSingleAsync(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleNetworkSingle /// /// /// Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleNetworkSingleWithHttpInfoAsync(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleQemuSingleCloudinit /// /// /// Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleQemuSingleCloudinitAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleQemuSingleCloudinit /// /// /// Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleQemuSingleCloudinitWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleQemuSingleFirewallAliasesSingleAsync(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleQemuSingleFirewallAliasesSingle /// /// /// Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleQemuSingleSendkey /// /// /// Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleQemuSingleSendkeyAsync(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleQemuSingleSendkey /// /// /// Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleQemuSingleSendkeyWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleStorageSingleContentSingle /// /// /// Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleStorageSingleContentSingle /// /// /// Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleSubscription /// /// /// Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleSubscriptionAsync(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleSubscription /// /// /// Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleSubscriptionWithHttpInfoAsync(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleTime /// /// /// Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateNodesSingleTimeAsync(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateNodesSingleTime /// /// /// Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateNodesSingleTimeWithHttpInfoAsync(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updatePool /// /// /// Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdatePoolAsync(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updatePool /// /// /// Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdatePoolWithHttpInfoAsync(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updatePools /// /// /// Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdatePoolsAsync(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updatePools /// /// /// Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdatePoolsWithHttpInfoAsync(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateStorageSingle /// /// /// Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateStorage200Response System.Threading.Tasks.Task UpdateStorageSingleAsync(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateStorageSingle /// /// /// Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateStorage200Response) System.Threading.Tasks.Task> UpdateStorageSingleWithHttpInfoAsync(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMConfig /// /// /// Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateVMConfigAsync(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMConfig /// /// /// Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateVMConfigWithHttpInfoAsync(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMConfigSync /// /// /// Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateVMConfigSyncAsync(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMConfigSync /// /// /// Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateVMConfigSyncWithHttpInfoAsync(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateVMFirewallIPSetIPAsync(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMFirewallIPSetIP /// /// /// Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateVMFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateVMFirewallOptionsAsync(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMFirewallOptions /// /// /// Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateVMFirewallOptionsWithHttpInfoAsync(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateVMFirewallRuleAsync(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMFirewallRule /// /// /// Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateVMFirewallRuleWithHttpInfoAsync(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMSnapshotConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response System.Threading.Tasks.Task UpdateVMSnapshotConfigAsync(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// updateVMSnapshotConfig /// /// /// Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) System.Threading.Tasks.Task> UpdateVMSnapshotConfigWithHttpInfoAsync(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } /// /// Represents a collection of functions to interact with the API endpoints /// public interface IProxmoxGeneratedApi : IProxmoxGeneratedApiSync, IProxmoxGeneratedApiAsync { } /// /// Represents a collection of functions to interact with the API endpoints /// public partial class ProxmoxGeneratedApi : IProxmoxGeneratedApi { private ProxmoxSharp.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. /// /// public ProxmoxGeneratedApi() : this((string)null) { } /// /// Initializes a new instance of the class. /// /// public ProxmoxGeneratedApi(string basePath) { this.Configuration = ProxmoxSharp.Client.Configuration.MergeConfigurations( ProxmoxSharp.Client.GlobalConfiguration.Instance, new ProxmoxSharp.Client.Configuration { BasePath = basePath } ); this.Client = new ProxmoxSharp.Client.ApiClient(this.Configuration.BasePath); this.AsynchronousClient = new ProxmoxSharp.Client.ApiClient(this.Configuration.BasePath); this.ExceptionFactory = ProxmoxSharp.Client.Configuration.DefaultExceptionFactory; } /// /// Initializes a new instance of the class /// using Configuration object /// /// An instance of Configuration /// public ProxmoxGeneratedApi(ProxmoxSharp.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); this.Configuration = ProxmoxSharp.Client.Configuration.MergeConfigurations( ProxmoxSharp.Client.GlobalConfiguration.Instance, configuration ); this.Client = new ProxmoxSharp.Client.ApiClient(this.Configuration.BasePath); this.AsynchronousClient = new ProxmoxSharp.Client.ApiClient(this.Configuration.BasePath); ExceptionFactory = ProxmoxSharp.Client.Configuration.DefaultExceptionFactory; } /// /// Initializes a new instance of the class /// using a Configuration object and client instance. /// /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. public ProxmoxGeneratedApi(ProxmoxSharp.Client.ISynchronousClient client, ProxmoxSharp.Client.IAsynchronousClient asyncClient, ProxmoxSharp.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; this.ExceptionFactory = ProxmoxSharp.Client.Configuration.DefaultExceptionFactory; } /// /// The client for accessing this underlying API asynchronously. /// public ProxmoxSharp.Client.IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// public ProxmoxSharp.Client.ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. /// /// The base path public string GetBasePath() { return this.Configuration.BasePath; } /// /// Gets or sets the configuration object /// /// An instance of the Configuration public ProxmoxSharp.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// public ProxmoxSharp.Client.ExceptionFactory ExceptionFactory { get { if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1) { throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported."); } return _exceptionFactory; } set { _exceptionFactory = value; } } /// /// addClusterFirewallGroupRule Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response AddClusterFirewallGroupRule(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = AddClusterFirewallGroupRuleWithHttpInfo(group, addClusterFirewallGroupRuleRequest); return localVarResponse.Data; } /// /// addClusterFirewallGroupRule Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse AddClusterFirewallGroupRuleWithHttpInfo(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->AddClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Data = addClusterFirewallGroupRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/firewall/groups/{group}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addClusterFirewallGroupRule Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task AddClusterFirewallGroupRuleAsync(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await AddClusterFirewallGroupRuleWithHttpInfoAsync(group, addClusterFirewallGroupRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// addClusterFirewallGroupRule Create new rule. /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> AddClusterFirewallGroupRuleWithHttpInfoAsync(string group, AddClusterFirewallGroupRuleRequest? addClusterFirewallGroupRuleRequest = default(AddClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->AddClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Data = addClusterFirewallGroupRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/firewall/groups/{group}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addClusterFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response AddClusterFirewallIPSetIP(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = AddClusterFirewallIPSetIPWithHttpInfo(name, addClusterFirewallIPSetIPRequest); return localVarResponse.Data; } /// /// addClusterFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse AddClusterFirewallIPSetIPWithHttpInfo(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->AddClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = addClusterFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addClusterFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task AddClusterFirewallIPSetIPAsync(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await AddClusterFirewallIPSetIPWithHttpInfoAsync(name, addClusterFirewallIPSetIPRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// addClusterFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> AddClusterFirewallIPSetIPWithHttpInfoAsync(string name, AddClusterFirewallIPSetIPRequest? addClusterFirewallIPSetIPRequest = default(AddClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->AddClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = addClusterFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addClusterFirewallRule Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response AddClusterFirewallRule(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = AddClusterFirewallRuleWithHttpInfo(addClusterFirewallRuleRequest); return localVarResponse.Data; } /// /// addClusterFirewallRule Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse AddClusterFirewallRuleWithHttpInfo(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = addClusterFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addClusterFirewallRule Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task AddClusterFirewallRuleAsync(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await AddClusterFirewallRuleWithHttpInfoAsync(addClusterFirewallRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// addClusterFirewallRule Create new rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> AddClusterFirewallRuleWithHttpInfoAsync(AddClusterFirewallRuleRequest? addClusterFirewallRuleRequest = default(AddClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = addClusterFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addVMFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response AddVMFirewallIPSetIP(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = AddVMFirewallIPSetIPWithHttpInfo(name, node, vmid, addVMFirewallIPSetIPRequest); return localVarResponse.Data; } /// /// addVMFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse AddVMFirewallIPSetIPWithHttpInfo(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->AddVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->AddVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = addVMFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// addVMFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task AddVMFirewallIPSetIPAsync(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await AddVMFirewallIPSetIPWithHttpInfoAsync(name, node, vmid, addVMFirewallIPSetIPRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// addVMFirewallIPSetIP Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> AddVMFirewallIPSetIPWithHttpInfoAsync(string name, string node, int vmid, AddVMFirewallIPSetIPRequest? addVMFirewallIPSetIPRequest = default(AddVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->AddVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->AddVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = addVMFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.AddVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("AddVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// cloneVM Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CloneVM(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CloneVMWithHttpInfo(node, vmid, cloneVMRequest); return localVarResponse.Data; } /// /// cloneVM Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CloneVMWithHttpInfo(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CloneVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = cloneVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CloneVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/clone", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CloneVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// cloneVM Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CloneVMAsync(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CloneVMWithHttpInfoAsync(node, vmid, cloneVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// cloneVM Create a copy of virtual machine/template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CloneVMWithHttpInfoAsync(string node, int vmid, CloneVMRequest? cloneVMRequest = default(CloneVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CloneVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = cloneVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CloneVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/clone", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CloneVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessDomains Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateAccessDomains(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessDomainsWithHttpInfo(createAccessDomainsRequest); return localVarResponse.Data; } /// /// createAccessDomains Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateAccessDomainsWithHttpInfo(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessDomainsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessDomains"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/domains", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessDomains", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessDomains Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateAccessDomainsAsync(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessDomainsWithHttpInfoAsync(createAccessDomainsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessDomains Add an authentication server. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateAccessDomainsWithHttpInfoAsync(CreateAccessDomainsRequest? createAccessDomainsRequest = default(CreateAccessDomainsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessDomainsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessDomains"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/domains", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessDomains", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessDomainsSingleSync Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// CreateAccessDomainsSingleSync200Response public CreateAccessDomainsSingleSync200Response CreateAccessDomainsSingleSync(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessDomainsSingleSyncWithHttpInfo(realm, createAccessDomainsSingleSyncRequest); return localVarResponse.Data; } /// /// createAccessDomainsSingleSync Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessDomainsSingleSync200Response public ProxmoxSharp.Client.ApiResponse CreateAccessDomainsSingleSyncWithHttpInfo(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->CreateAccessDomainsSingleSync"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Data = createAccessDomainsSingleSyncRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessDomainsSingleSync"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/domains/{realm}/sync", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessDomainsSingleSync", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessDomainsSingleSync Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessDomainsSingleSync200Response public async System.Threading.Tasks.Task CreateAccessDomainsSingleSyncAsync(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessDomainsSingleSyncWithHttpInfoAsync(realm, createAccessDomainsSingleSyncRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessDomainsSingleSync Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessDomainsSingleSync200Response) public async System.Threading.Tasks.Task> CreateAccessDomainsSingleSyncWithHttpInfoAsync(string realm, CreateAccessDomainsSingleSyncRequest? createAccessDomainsSingleSyncRequest = default(CreateAccessDomainsSingleSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->CreateAccessDomainsSingleSync"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Data = createAccessDomainsSingleSyncRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessDomainsSingleSync"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/domains/{realm}/sync", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessDomainsSingleSync", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessGroups Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateAccessGroups(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessGroupsWithHttpInfo(createAccessGroupsRequest); return localVarResponse.Data; } /// /// createAccessGroups Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateAccessGroupsWithHttpInfo(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessGroupsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/groups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessGroups Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateAccessGroupsAsync(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessGroupsWithHttpInfoAsync(createAccessGroupsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessGroups Create new group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateAccessGroupsWithHttpInfoAsync(CreateAccessGroupsRequest? createAccessGroupsRequest = default(CreateAccessGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessGroupsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessOpenidAuthurl Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateAccessOpenidAuthurl200Response public CreateAccessOpenidAuthurl200Response CreateAccessOpenidAuthurl(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessOpenidAuthurlWithHttpInfo(createAccessOpenidAuthurlRequest); return localVarResponse.Data; } /// /// createAccessOpenidAuthurl Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessOpenidAuthurl200Response public ProxmoxSharp.Client.ApiResponse CreateAccessOpenidAuthurlWithHttpInfo(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessOpenidAuthurlRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessOpenidAuthurl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/openid/auth-url", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessOpenidAuthurl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessOpenidAuthurl Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessOpenidAuthurl200Response public async System.Threading.Tasks.Task CreateAccessOpenidAuthurlAsync(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessOpenidAuthurlWithHttpInfoAsync(createAccessOpenidAuthurlRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessOpenidAuthurl Get the OpenId Authorization Url for the specified realm. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessOpenidAuthurl200Response) public async System.Threading.Tasks.Task> CreateAccessOpenidAuthurlWithHttpInfoAsync(CreateAccessOpenidAuthurlRequest? createAccessOpenidAuthurlRequest = default(CreateAccessOpenidAuthurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessOpenidAuthurlRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessOpenidAuthurl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/openid/auth-url", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessOpenidAuthurl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessOpenidLogin Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateAccessOpenidLogin(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessOpenidLoginWithHttpInfo(createAccessOpenidLoginRequest); return localVarResponse.Data; } /// /// createAccessOpenidLogin Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateAccessOpenidLoginWithHttpInfo(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessOpenidLoginRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessOpenidLogin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/openid/login", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessOpenidLogin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessOpenidLogin Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateAccessOpenidLoginAsync(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessOpenidLoginWithHttpInfoAsync(createAccessOpenidLoginRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessOpenidLogin Verify OpenID authorization code and create a ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateAccessOpenidLoginWithHttpInfoAsync(CreateAccessOpenidLoginRequest? createAccessOpenidLoginRequest = default(CreateAccessOpenidLoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessOpenidLoginRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessOpenidLogin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/openid/login", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessOpenidLogin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessRoles Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateAccessRoles(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessRolesWithHttpInfo(createAccessRolesRequest); return localVarResponse.Data; } /// /// createAccessRoles Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateAccessRolesWithHttpInfo(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessRolesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessRoles"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/roles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessRoles", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessRoles Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateAccessRolesAsync(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessRolesWithHttpInfoAsync(createAccessRolesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessRoles Create new role. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateAccessRolesWithHttpInfoAsync(CreateAccessRolesRequest? createAccessRolesRequest = default(CreateAccessRolesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessRolesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessRoles"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/roles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessRoles", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessTfaSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// CreateAccessTfaSingle200Response public CreateAccessTfaSingle200Response CreateAccessTfaSingle(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessTfaSingleWithHttpInfo(userid, createAccessTfaSingleRequest); return localVarResponse.Data; } /// /// createAccessTfaSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessTfaSingle200Response public ProxmoxSharp.Client.ApiResponse CreateAccessTfaSingleWithHttpInfo(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->CreateAccessTfaSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = createAccessTfaSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessTfaSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/tfa/{userid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessTfaSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessTfaSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessTfaSingle200Response public async System.Threading.Tasks.Task CreateAccessTfaSingleAsync(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessTfaSingleWithHttpInfoAsync(userid, createAccessTfaSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessTfaSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessTfaSingle200Response) public async System.Threading.Tasks.Task> CreateAccessTfaSingleWithHttpInfoAsync(string userid, CreateAccessTfaSingleRequest? createAccessTfaSingleRequest = default(CreateAccessTfaSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->CreateAccessTfaSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = createAccessTfaSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessTfaSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/tfa/{userid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessTfaSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessTicket Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateAccessTicket200Response public CreateAccessTicket200Response CreateAccessTicket(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessTicketWithHttpInfo(createAccessTicketRequest); return localVarResponse.Data; } /// /// createAccessTicket Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessTicket200Response public ProxmoxSharp.Client.ApiResponse CreateAccessTicketWithHttpInfo(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessTicketRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessTicket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/ticket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessTicket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessTicket Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessTicket200Response public async System.Threading.Tasks.Task CreateAccessTicketAsync(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessTicketWithHttpInfoAsync(createAccessTicketRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessTicket Create or verify authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessTicket200Response) public async System.Threading.Tasks.Task> CreateAccessTicketWithHttpInfoAsync(CreateAccessTicketRequest? createAccessTicketRequest = default(CreateAccessTicketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessTicketRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessTicket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/ticket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessTicket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessUsers Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateAccessUsers(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessUsersWithHttpInfo(createAccessUsersRequest); return localVarResponse.Data; } /// /// createAccessUsers Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateAccessUsersWithHttpInfo(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessUsersRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessUsers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/users", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessUsers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessUsers Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateAccessUsersAsync(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessUsersWithHttpInfoAsync(createAccessUsersRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessUsers Create new user. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateAccessUsersWithHttpInfoAsync(CreateAccessUsersRequest? createAccessUsersRequest = default(CreateAccessUsersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessUsersRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessUsers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessUsers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessUsersSingleTokenSingle Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// CreateAccessUsersSingleTokenSingle200Response public CreateAccessUsersSingleTokenSingle200Response CreateAccessUsersSingleTokenSingle(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessUsersSingleTokenSingleWithHttpInfo(tokenid, userid, createAccessUsersSingleTokenSingleRequest); return localVarResponse.Data; } /// /// createAccessUsersSingleTokenSingle Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateAccessUsersSingleTokenSingle200Response public ProxmoxSharp.Client.ApiResponse CreateAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->CreateAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->CreateAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = createAccessUsersSingleTokenSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessUsersSingleTokenSingle Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateAccessUsersSingleTokenSingle200Response public async System.Threading.Tasks.Task CreateAccessUsersSingleTokenSingleAsync(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessUsersSingleTokenSingleWithHttpInfoAsync(tokenid, userid, createAccessUsersSingleTokenSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessUsersSingleTokenSingle Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateAccessUsersSingleTokenSingle200Response) public async System.Threading.Tasks.Task> CreateAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, CreateAccessUsersSingleTokenSingleRequest? createAccessUsersSingleTokenSingleRequest = default(CreateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->CreateAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->CreateAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = createAccessUsersSingleTokenSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessVncticket verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateAccessVncticket(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateAccessVncticketWithHttpInfo(createAccessVncticketRequest); return localVarResponse.Data; } /// /// createAccessVncticket verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateAccessVncticketWithHttpInfo(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessVncticketRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessVncticket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/access/vncticket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessVncticket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createAccessVncticket verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateAccessVncticketAsync(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateAccessVncticketWithHttpInfoAsync(createAccessVncticketRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createAccessVncticket verify VNC authentication ticket. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateAccessVncticketWithHttpInfoAsync(CreateAccessVncticketRequest? createAccessVncticketRequest = default(CreateAccessVncticketRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createAccessVncticketRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateAccessVncticket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/access/vncticket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateAccessVncticket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterAcmeAccount Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterAcmeAccount(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterAcmeAccountWithHttpInfo(createClusterAcmeAccountRequest); return localVarResponse.Data; } /// /// createClusterAcmeAccount Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterAcmeAccountWithHttpInfo(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterAcmeAccountRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterAcmeAccount"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/acme/account", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterAcmeAccount", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterAcmeAccount Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterAcmeAccountAsync(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterAcmeAccountWithHttpInfoAsync(createClusterAcmeAccountRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterAcmeAccount Register a new ACME account with CA. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterAcmeAccountWithHttpInfoAsync(CreateClusterAcmeAccountRequest? createClusterAcmeAccountRequest = default(CreateClusterAcmeAccountRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterAcmeAccountRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterAcmeAccount"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/acme/account", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterAcmeAccount", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterAcmePlugins Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterAcmePlugins(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterAcmePluginsWithHttpInfo(createClusterAcmePluginsRequest); return localVarResponse.Data; } /// /// createClusterAcmePlugins Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterAcmePluginsWithHttpInfo(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterAcmePluginsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterAcmePlugins"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/acme/plugins", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterAcmePlugins", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterAcmePlugins Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterAcmePluginsAsync(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterAcmePluginsWithHttpInfoAsync(createClusterAcmePluginsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterAcmePlugins Add ACME plugin configuration. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterAcmePluginsWithHttpInfoAsync(CreateClusterAcmePluginsRequest? createClusterAcmePluginsRequest = default(CreateClusterAcmePluginsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterAcmePluginsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterAcmePlugins"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/acme/plugins", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterAcmePlugins", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBackup Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterBackup(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterBackupWithHttpInfo(createClusterBackupRequest); return localVarResponse.Data; } /// /// createClusterBackup Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterBackupWithHttpInfo(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBackupRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBackup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/backup", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBackup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBackup Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterBackupAsync(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterBackupWithHttpInfoAsync(createClusterBackupRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterBackup Create new vzdump backup job. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterBackupWithHttpInfoAsync(CreateClusterBackupRequest? createClusterBackupRequest = default(CreateClusterBackupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBackupRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBackup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/backup", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBackup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestMigrate Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response public CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestMigrate(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterBulkactionGuestMigrateWithHttpInfo(createClusterBulkactionGuestMigrateRequest); return localVarResponse.Data; } /// /// createClusterBulkactionGuestMigrate Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response public ProxmoxSharp.Client.ApiResponse CreateClusterBulkactionGuestMigrateWithHttpInfo(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/bulk-action/guest/migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestMigrate Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response public async System.Threading.Tasks.Task CreateClusterBulkactionGuestMigrateAsync(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterBulkactionGuestMigrateWithHttpInfoAsync(createClusterBulkactionGuestMigrateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterBulkactionGuestMigrate Bulk migrate all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) public async System.Threading.Tasks.Task> CreateClusterBulkactionGuestMigrateWithHttpInfoAsync(CreateClusterBulkactionGuestMigrateRequest? createClusterBulkactionGuestMigrateRequest = default(CreateClusterBulkactionGuestMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/bulk-action/guest/migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestShutdown Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response public CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestShutdown(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterBulkactionGuestShutdownWithHttpInfo(createClusterBulkactionGuestShutdownRequest); return localVarResponse.Data; } /// /// createClusterBulkactionGuestShutdown Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response public ProxmoxSharp.Client.ApiResponse CreateClusterBulkactionGuestShutdownWithHttpInfo(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestShutdownRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestShutdown"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/bulk-action/guest/shutdown", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestShutdown", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestShutdown Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response public async System.Threading.Tasks.Task CreateClusterBulkactionGuestShutdownAsync(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterBulkactionGuestShutdownWithHttpInfoAsync(createClusterBulkactionGuestShutdownRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterBulkactionGuestShutdown Bulk shutdown all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) public async System.Threading.Tasks.Task> CreateClusterBulkactionGuestShutdownWithHttpInfoAsync(CreateClusterBulkactionGuestShutdownRequest? createClusterBulkactionGuestShutdownRequest = default(CreateClusterBulkactionGuestShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestShutdownRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestShutdown"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/bulk-action/guest/shutdown", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestShutdown", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestStart Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response public CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestStart(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterBulkactionGuestStartWithHttpInfo(createClusterBulkactionGuestStartRequest); return localVarResponse.Data; } /// /// createClusterBulkactionGuestStart Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response public ProxmoxSharp.Client.ApiResponse CreateClusterBulkactionGuestStartWithHttpInfo(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestStartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/bulk-action/guest/start", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestStart Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response public async System.Threading.Tasks.Task CreateClusterBulkactionGuestStartAsync(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterBulkactionGuestStartWithHttpInfoAsync(createClusterBulkactionGuestStartRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterBulkactionGuestStart Bulk start or resume all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) public async System.Threading.Tasks.Task> CreateClusterBulkactionGuestStartWithHttpInfoAsync(CreateClusterBulkactionGuestStartRequest? createClusterBulkactionGuestStartRequest = default(CreateClusterBulkactionGuestStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestStartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/bulk-action/guest/start", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestSuspend Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterBulkactionGuestStart200Response public CreateClusterBulkactionGuestStart200Response CreateClusterBulkactionGuestSuspend(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterBulkactionGuestSuspendWithHttpInfo(createClusterBulkactionGuestSuspendRequest); return localVarResponse.Data; } /// /// createClusterBulkactionGuestSuspend Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterBulkactionGuestStart200Response public ProxmoxSharp.Client.ApiResponse CreateClusterBulkactionGuestSuspendWithHttpInfo(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestSuspendRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestSuspend"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/bulk-action/guest/suspend", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestSuspend", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterBulkactionGuestSuspend Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterBulkactionGuestStart200Response public async System.Threading.Tasks.Task CreateClusterBulkactionGuestSuspendAsync(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterBulkactionGuestSuspendWithHttpInfoAsync(createClusterBulkactionGuestSuspendRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterBulkactionGuestSuspend Bulk suspend all guests on the cluster. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterBulkactionGuestStart200Response) public async System.Threading.Tasks.Task> CreateClusterBulkactionGuestSuspendWithHttpInfoAsync(CreateClusterBulkactionGuestSuspendRequest? createClusterBulkactionGuestSuspendRequest = default(CreateClusterBulkactionGuestSuspendRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterBulkactionGuestSuspendRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterBulkactionGuestSuspend"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/bulk-action/guest/suspend", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterBulkactionGuestSuspend", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterConfig Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterConfig(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterConfigWithHttpInfo(createClusterConfigRequest); return localVarResponse.Data; } /// /// createClusterConfig Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterConfigWithHttpInfo(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterConfig Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterConfigAsync(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterConfigWithHttpInfoAsync(createClusterConfigRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterConfig Generate new cluster configuration. If no links given, default to local IP address as link0. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterConfigWithHttpInfoAsync(CreateClusterConfigRequest? createClusterConfigRequest = default(CreateClusterConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterConfigJoin Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterConfigJoin(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterConfigJoinWithHttpInfo(createClusterConfigJoinRequest); return localVarResponse.Data; } /// /// createClusterConfigJoin Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterConfigJoinWithHttpInfo(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterConfigJoinRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterConfigJoin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/config/join", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterConfigJoin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterConfigJoin Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterConfigJoinAsync(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterConfigJoinWithHttpInfoAsync(createClusterConfigJoinRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterConfigJoin Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterConfigJoinWithHttpInfoAsync(CreateClusterConfigJoinRequest? createClusterConfigJoinRequest = default(CreateClusterConfigJoinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterConfigJoinRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterConfigJoin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/config/join", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterConfigJoin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterConfigNodesSingle Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterConfigNodesSingle200Response public CreateClusterConfigNodesSingle200Response CreateClusterConfigNodesSingle(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterConfigNodesSingleWithHttpInfo(node, createClusterConfigNodesSingleRequest); return localVarResponse.Data; } /// /// createClusterConfigNodesSingle Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterConfigNodesSingle200Response public ProxmoxSharp.Client.ApiResponse CreateClusterConfigNodesSingleWithHttpInfo(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateClusterConfigNodesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createClusterConfigNodesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterConfigNodesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/config/nodes/{node}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterConfigNodesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterConfigNodesSingle Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterConfigNodesSingle200Response public async System.Threading.Tasks.Task CreateClusterConfigNodesSingleAsync(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterConfigNodesSingleWithHttpInfoAsync(node, createClusterConfigNodesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterConfigNodesSingle Adds a node to the cluster configuration. This call is for internal use. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterConfigNodesSingle200Response) public async System.Threading.Tasks.Task> CreateClusterConfigNodesSingleWithHttpInfoAsync(string node, CreateClusterConfigNodesSingleRequest? createClusterConfigNodesSingleRequest = default(CreateClusterConfigNodesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateClusterConfigNodesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createClusterConfigNodesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterConfigNodesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/config/nodes/{node}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterConfigNodesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterFirewallAliases(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterFirewallAliasesWithHttpInfo(createClusterFirewallAliasesRequest); return localVarResponse.Data; } /// /// createClusterFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterFirewallAliasesWithHttpInfo(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterFirewallAliasesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/firewall/aliases", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterFirewallAliasesAsync(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterFirewallAliasesWithHttpInfoAsync(createClusterFirewallAliasesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterFirewallAliasesWithHttpInfoAsync(CreateClusterFirewallAliasesRequest? createClusterFirewallAliasesRequest = default(CreateClusterFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterFirewallAliasesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/firewall/aliases", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterFirewallGroup Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterFirewallGroup(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterFirewallGroupWithHttpInfo(createClusterFirewallGroupRequest); return localVarResponse.Data; } /// /// createClusterFirewallGroup Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterFirewallGroupWithHttpInfo(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterFirewallGroupRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterFirewallGroup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/firewall/groups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterFirewallGroup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterFirewallGroup Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterFirewallGroupAsync(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterFirewallGroupWithHttpInfoAsync(createClusterFirewallGroupRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterFirewallGroup Create new security group. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterFirewallGroupWithHttpInfoAsync(CreateClusterFirewallGroupRequest? createClusterFirewallGroupRequest = default(CreateClusterFirewallGroupRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterFirewallGroupRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterFirewallGroup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/firewall/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterFirewallGroup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterFirewallIPSet(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterFirewallIPSetWithHttpInfo(createClusterFirewallIPSetRequest); return localVarResponse.Data; } /// /// createClusterFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterFirewallIPSetWithHttpInfo(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterFirewallIPSetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/firewall/ipset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterFirewallIPSetAsync(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterFirewallIPSetWithHttpInfoAsync(createClusterFirewallIPSetRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterFirewallIPSetWithHttpInfoAsync(CreateClusterFirewallIPSetRequest? createClusterFirewallIPSetRequest = default(CreateClusterFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterFirewallIPSetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/firewall/ipset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaGroups Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterHaGroups(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterHaGroupsWithHttpInfo(createClusterHaGroupsRequest); return localVarResponse.Data; } /// /// createClusterHaGroups Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterHaGroupsWithHttpInfo(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterHaGroupsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/ha/groups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaGroups Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterHaGroupsAsync(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterHaGroupsWithHttpInfoAsync(createClusterHaGroupsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterHaGroups Create a new HA group. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterHaGroupsWithHttpInfoAsync(CreateClusterHaGroupsRequest? createClusterHaGroupsRequest = default(CreateClusterHaGroupsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterHaGroupsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/ha/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaResources Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterHaResources(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterHaResourcesWithHttpInfo(createClusterHaResourcesRequest); return localVarResponse.Data; } /// /// createClusterHaResources Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterHaResourcesWithHttpInfo(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterHaResourcesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaResources"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/ha/resources", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaResources", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaResources Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterHaResourcesAsync(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterHaResourcesWithHttpInfoAsync(createClusterHaResourcesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterHaResources Create a new HA resource. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterHaResourcesWithHttpInfoAsync(CreateClusterHaResourcesRequest? createClusterHaResourcesRequest = default(CreateClusterHaResourcesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterHaResourcesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaResources"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/ha/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaResources", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaResourcesSingleMigrate Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// CreateClusterHaResourcesSingleMigrate200Response public CreateClusterHaResourcesSingleMigrate200Response CreateClusterHaResourcesSingleMigrate(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterHaResourcesSingleMigrateWithHttpInfo(sid, createClusterHaResourcesSingleMigrateRequest); return localVarResponse.Data; } /// /// createClusterHaResourcesSingleMigrate Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterHaResourcesSingleMigrate200Response public ProxmoxSharp.Client.ApiResponse CreateClusterHaResourcesSingleMigrateWithHttpInfo(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->CreateClusterHaResourcesSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Data = createClusterHaResourcesSingleMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaResourcesSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/ha/resources/{sid}/migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaResourcesSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaResourcesSingleMigrate Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterHaResourcesSingleMigrate200Response public async System.Threading.Tasks.Task CreateClusterHaResourcesSingleMigrateAsync(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterHaResourcesSingleMigrateWithHttpInfoAsync(sid, createClusterHaResourcesSingleMigrateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterHaResourcesSingleMigrate Request resource migration (online) to another node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterHaResourcesSingleMigrate200Response) public async System.Threading.Tasks.Task> CreateClusterHaResourcesSingleMigrateWithHttpInfoAsync(string sid, CreateClusterHaResourcesSingleMigrateRequest? createClusterHaResourcesSingleMigrateRequest = default(CreateClusterHaResourcesSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->CreateClusterHaResourcesSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Data = createClusterHaResourcesSingleMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaResourcesSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/ha/resources/{sid}/migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaResourcesSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaResourcesSingleRelocate Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// CreateClusterHaResourcesSingleRelocate200Response public CreateClusterHaResourcesSingleRelocate200Response CreateClusterHaResourcesSingleRelocate(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterHaResourcesSingleRelocateWithHttpInfo(sid, createClusterHaResourcesSingleRelocateRequest); return localVarResponse.Data; } /// /// createClusterHaResourcesSingleRelocate Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterHaResourcesSingleRelocate200Response public ProxmoxSharp.Client.ApiResponse CreateClusterHaResourcesSingleRelocateWithHttpInfo(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->CreateClusterHaResourcesSingleRelocate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Data = createClusterHaResourcesSingleRelocateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaResourcesSingleRelocate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/ha/resources/{sid}/relocate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaResourcesSingleRelocate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaResourcesSingleRelocate Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterHaResourcesSingleRelocate200Response public async System.Threading.Tasks.Task CreateClusterHaResourcesSingleRelocateAsync(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterHaResourcesSingleRelocateWithHttpInfoAsync(sid, createClusterHaResourcesSingleRelocateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterHaResourcesSingleRelocate Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterHaResourcesSingleRelocate200Response) public async System.Threading.Tasks.Task> CreateClusterHaResourcesSingleRelocateWithHttpInfoAsync(string sid, CreateClusterHaResourcesSingleRelocateRequest? createClusterHaResourcesSingleRelocateRequest = default(CreateClusterHaResourcesSingleRelocateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->CreateClusterHaResourcesSingleRelocate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Data = createClusterHaResourcesSingleRelocateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaResourcesSingleRelocate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/ha/resources/{sid}/relocate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaResourcesSingleRelocate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaRules Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterHaRules(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterHaRulesWithHttpInfo(createClusterHaRulesRequest); return localVarResponse.Data; } /// /// createClusterHaRules Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterHaRulesWithHttpInfo(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterHaRulesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/ha/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterHaRules Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterHaRulesAsync(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterHaRulesWithHttpInfoAsync(createClusterHaRulesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterHaRules Create HA rule. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterHaRulesWithHttpInfoAsync(CreateClusterHaRulesRequest? createClusterHaRulesRequest = default(CreateClusterHaRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterHaRulesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterHaRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/ha/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterHaRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterJobsRealmsyncSingle Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterJobsRealmsyncSingle(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterJobsRealmsyncSingleWithHttpInfo(id, createClusterJobsRealmsyncSingleRequest); return localVarResponse.Data; } /// /// createClusterJobsRealmsyncSingle Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterJobsRealmsyncSingleWithHttpInfo(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = createClusterJobsRealmsyncSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterJobsRealmsyncSingle Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterJobsRealmsyncSingleAsync(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterJobsRealmsyncSingleWithHttpInfoAsync(id, createClusterJobsRealmsyncSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterJobsRealmsyncSingle Create new realm-sync job. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, CreateClusterJobsRealmsyncSingleRequest? createClusterJobsRealmsyncSingleRequest = default(CreateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = createClusterJobsRealmsyncSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMappingDir Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterMappingDir(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterMappingDirWithHttpInfo(createClusterMappingDirRequest); return localVarResponse.Data; } /// /// createClusterMappingDir Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterMappingDirWithHttpInfo(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterMappingDirRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMappingDir"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/mapping/dir", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMappingDir", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMappingDir Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterMappingDirAsync(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterMappingDirWithHttpInfoAsync(createClusterMappingDirRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterMappingDir Create a new directory mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterMappingDirWithHttpInfoAsync(CreateClusterMappingDirRequest? createClusterMappingDirRequest = default(CreateClusterMappingDirRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterMappingDirRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMappingDir"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/mapping/dir", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMappingDir", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMappingPci Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterMappingPci(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterMappingPciWithHttpInfo(createClusterMappingPciRequest); return localVarResponse.Data; } /// /// createClusterMappingPci Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterMappingPciWithHttpInfo(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterMappingPciRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMappingPci"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/mapping/pci", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMappingPci", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMappingPci Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterMappingPciAsync(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterMappingPciWithHttpInfoAsync(createClusterMappingPciRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterMappingPci Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterMappingPciWithHttpInfoAsync(CreateClusterMappingPciRequest? createClusterMappingPciRequest = default(CreateClusterMappingPciRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterMappingPciRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMappingPci"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/mapping/pci", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMappingPci", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMappingUsb Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterMappingUsb(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterMappingUsbWithHttpInfo(createClusterMappingUsbRequest); return localVarResponse.Data; } /// /// createClusterMappingUsb Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterMappingUsbWithHttpInfo(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterMappingUsbRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMappingUsb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/mapping/usb", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMappingUsb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMappingUsb Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterMappingUsbAsync(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterMappingUsbWithHttpInfoAsync(createClusterMappingUsbRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterMappingUsb Create a new hardware mapping. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterMappingUsbWithHttpInfoAsync(CreateClusterMappingUsbRequest? createClusterMappingUsbRequest = default(CreateClusterMappingUsbRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterMappingUsbRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMappingUsb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/mapping/usb", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMappingUsb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMetricsServerSingle Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterMetricsServerSingle(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterMetricsServerSingleWithHttpInfo(id, createClusterMetricsServerSingleRequest); return localVarResponse.Data; } /// /// createClusterMetricsServerSingle Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterMetricsServerSingleWithHttpInfo(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = createClusterMetricsServerSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterMetricsServerSingle Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterMetricsServerSingleAsync(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterMetricsServerSingleWithHttpInfoAsync(id, createClusterMetricsServerSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterMetricsServerSingle Create a new external metric server config /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterMetricsServerSingleWithHttpInfoAsync(string id, CreateClusterMetricsServerSingleRequest? createClusterMetricsServerSingleRequest = default(CreateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = createClusterMetricsServerSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsGotify Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterNotificationsEndpointsGotify(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterNotificationsEndpointsGotifyWithHttpInfo(createClusterNotificationsEndpointsGotifyRequest); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsGotify Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterNotificationsEndpointsGotifyWithHttpInfo(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsGotifyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsGotify"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/notifications/endpoints/gotify", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsGotify", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsGotify Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterNotificationsEndpointsGotifyAsync(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterNotificationsEndpointsGotifyWithHttpInfoAsync(createClusterNotificationsEndpointsGotifyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsGotify Create a new gotify endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsGotifyWithHttpInfoAsync(CreateClusterNotificationsEndpointsGotifyRequest? createClusterNotificationsEndpointsGotifyRequest = default(CreateClusterNotificationsEndpointsGotifyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsGotifyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsGotify"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/notifications/endpoints/gotify", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsGotify", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsSendmail Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterNotificationsEndpointsSendmail(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterNotificationsEndpointsSendmailWithHttpInfo(createClusterNotificationsEndpointsSendmailRequest); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsSendmail Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterNotificationsEndpointsSendmailWithHttpInfo(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsSendmailRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsSendmail"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/notifications/endpoints/sendmail", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsSendmail", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsSendmail Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterNotificationsEndpointsSendmailAsync(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterNotificationsEndpointsSendmailWithHttpInfoAsync(createClusterNotificationsEndpointsSendmailRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsSendmail Create a new sendmail endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsSendmailWithHttpInfoAsync(CreateClusterNotificationsEndpointsSendmailRequest? createClusterNotificationsEndpointsSendmailRequest = default(CreateClusterNotificationsEndpointsSendmailRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsSendmailRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsSendmail"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/notifications/endpoints/sendmail", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsSendmail", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsSmtp Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterNotificationsEndpointsSmtp(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterNotificationsEndpointsSmtpWithHttpInfo(createClusterNotificationsEndpointsSmtpRequest); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsSmtp Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterNotificationsEndpointsSmtpWithHttpInfo(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsSmtpRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsSmtp"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/notifications/endpoints/smtp", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsSmtp", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsSmtp Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterNotificationsEndpointsSmtpAsync(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterNotificationsEndpointsSmtpWithHttpInfoAsync(createClusterNotificationsEndpointsSmtpRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsSmtp Create a new smtp endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsSmtpWithHttpInfoAsync(CreateClusterNotificationsEndpointsSmtpRequest? createClusterNotificationsEndpointsSmtpRequest = default(CreateClusterNotificationsEndpointsSmtpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsSmtpRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsSmtp"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/notifications/endpoints/smtp", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsSmtp", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsWebhook Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterNotificationsEndpointsWebhook(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterNotificationsEndpointsWebhookWithHttpInfo(createClusterNotificationsEndpointsWebhookRequest); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsWebhook Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterNotificationsEndpointsWebhookWithHttpInfo(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsWebhookRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsWebhook"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/notifications/endpoints/webhook", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsWebhook", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsEndpointsWebhook Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterNotificationsEndpointsWebhookAsync(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterNotificationsEndpointsWebhookWithHttpInfoAsync(createClusterNotificationsEndpointsWebhookRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterNotificationsEndpointsWebhook Create a new webhook endpoint /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterNotificationsEndpointsWebhookWithHttpInfoAsync(CreateClusterNotificationsEndpointsWebhookRequest? createClusterNotificationsEndpointsWebhookRequest = default(CreateClusterNotificationsEndpointsWebhookRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsEndpointsWebhookRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsEndpointsWebhook"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/notifications/endpoints/webhook", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsEndpointsWebhook", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsMatchers Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterNotificationsMatchers(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterNotificationsMatchersWithHttpInfo(createClusterNotificationsMatchersRequest); return localVarResponse.Data; } /// /// createClusterNotificationsMatchers Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterNotificationsMatchersWithHttpInfo(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsMatchersRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsMatchers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/notifications/matchers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsMatchers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsMatchers Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterNotificationsMatchersAsync(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterNotificationsMatchersWithHttpInfoAsync(createClusterNotificationsMatchersRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterNotificationsMatchers Create a new matcher /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterNotificationsMatchersWithHttpInfoAsync(CreateClusterNotificationsMatchersRequest? createClusterNotificationsMatchersRequest = default(CreateClusterNotificationsMatchersRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterNotificationsMatchersRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsMatchers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/notifications/matchers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsMatchers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsTargetsSingleTest Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterNotificationsTargetsSingleTest(string name, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterNotificationsTargetsSingleTestWithHttpInfo(name, body); return localVarResponse.Data; } /// /// createClusterNotificationsTargetsSingleTest Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterNotificationsTargetsSingleTestWithHttpInfo(string name, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateClusterNotificationsTargetsSingleTest"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsTargetsSingleTest"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/notifications/targets/{name}/test", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsTargetsSingleTest", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterNotificationsTargetsSingleTest Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterNotificationsTargetsSingleTestAsync(string name, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterNotificationsTargetsSingleTestWithHttpInfoAsync(name, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterNotificationsTargetsSingleTest Send a test notification to a provided target. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterNotificationsTargetsSingleTestWithHttpInfoAsync(string name, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateClusterNotificationsTargetsSingleTest"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterNotificationsTargetsSingleTest"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/notifications/targets/{name}/test", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterNotificationsTargetsSingleTest", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterReplication Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterReplication(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterReplicationWithHttpInfo(createClusterReplicationRequest); return localVarResponse.Data; } /// /// createClusterReplication Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterReplicationWithHttpInfo(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterReplicationRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterReplication"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/replication", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterReplication", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterReplication Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterReplicationAsync(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterReplicationWithHttpInfoAsync(createClusterReplicationRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterReplication Create a new replication job /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterReplicationWithHttpInfoAsync(CreateClusterReplicationRequest? createClusterReplicationRequest = default(CreateClusterReplicationRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterReplicationRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterReplication"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/replication", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterReplication", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSDNController Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSDNController(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSDNControllerWithHttpInfo(createClusterSDNControllerRequest); return localVarResponse.Data; } /// /// createClusterSDNController Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSDNControllerWithHttpInfo(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSDNControllerRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/controllers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSDNController Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSDNControllerAsync(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSDNControllerWithHttpInfoAsync(createClusterSDNControllerRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSDNController Create a new sdn controller object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSDNControllerWithHttpInfoAsync(CreateClusterSDNControllerRequest? createClusterSDNControllerRequest = default(CreateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSDNControllerRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/controllers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSDNVnet Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSDNVnet(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSDNVnetWithHttpInfo(createClusterSDNVnetRequest); return localVarResponse.Data; } /// /// createClusterSDNVnet Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSDNVnetWithHttpInfo(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSDNVnetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/vnets", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSDNVnet Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSDNVnetAsync(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSDNVnetWithHttpInfoAsync(createClusterSDNVnetRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSDNVnet Create a new sdn vnet object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSDNVnetWithHttpInfoAsync(CreateClusterSDNVnetRequest? createClusterSDNVnetRequest = default(CreateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSDNVnetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/vnets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSDNZone Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSDNZone(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSDNZoneWithHttpInfo(createClusterSDNZoneRequest); return localVarResponse.Data; } /// /// createClusterSDNZone Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSDNZoneWithHttpInfo(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSDNZoneRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/zones", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSDNZone Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSDNZoneAsync(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSDNZoneWithHttpInfoAsync(createClusterSDNZoneRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSDNZone Create a new sdn zone object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSDNZoneWithHttpInfoAsync(CreateClusterSDNZoneRequest? createClusterSDNZoneRequest = default(CreateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSDNZoneRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/zones", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnDns Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnDns(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnDnsWithHttpInfo(createClusterSdnDnsRequest); return localVarResponse.Data; } /// /// createClusterSdnDns Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnDnsWithHttpInfo(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnDnsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/dns", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnDns Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnDnsAsync(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnDnsWithHttpInfoAsync(createClusterSdnDnsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnDns Create a new sdn dns object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnDnsWithHttpInfoAsync(CreateClusterSdnDnsRequest? createClusterSdnDnsRequest = default(CreateClusterSdnDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnDnsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/dns", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnFabricsFabric Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnFabricsFabric(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnFabricsFabricWithHttpInfo(createClusterSdnFabricsFabricRequest); return localVarResponse.Data; } /// /// createClusterSdnFabricsFabric Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnFabricsFabricWithHttpInfo(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnFabricsFabricRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnFabricsFabric"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/fabrics/fabric", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnFabricsFabric", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnFabricsFabric Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnFabricsFabricAsync(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnFabricsFabricWithHttpInfoAsync(createClusterSdnFabricsFabricRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnFabricsFabric Add a fabric /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnFabricsFabricWithHttpInfoAsync(CreateClusterSdnFabricsFabricRequest? createClusterSdnFabricsFabricRequest = default(CreateClusterSdnFabricsFabricRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnFabricsFabricRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnFabricsFabric"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/fabrics/fabric", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnFabricsFabric", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnFabricsNodeSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnFabricsNodeSingle(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnFabricsNodeSingleWithHttpInfo(fabricId, createClusterSdnFabricsNodeSingleRequest); return localVarResponse.Data; } /// /// createClusterSdnFabricsNodeSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnFabricsNodeSingleWithHttpInfo(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->CreateClusterSdnFabricsNodeSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.Data = createClusterSdnFabricsNodeSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnFabricsNodeSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/fabrics/node/{fabric_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnFabricsNodeSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnFabricsNodeSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnFabricsNodeSingleAsync(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnFabricsNodeSingleWithHttpInfoAsync(fabricId, createClusterSdnFabricsNodeSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnFabricsNodeSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnFabricsNodeSingleWithHttpInfoAsync(string fabricId, CreateClusterSdnFabricsNodeSingleRequest? createClusterSdnFabricsNodeSingleRequest = default(CreateClusterSdnFabricsNodeSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->CreateClusterSdnFabricsNodeSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.Data = createClusterSdnFabricsNodeSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnFabricsNodeSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/fabrics/node/{fabric_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnFabricsNodeSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnIpams Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnIpams(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnIpamsWithHttpInfo(createClusterSdnIpamsRequest); return localVarResponse.Data; } /// /// createClusterSdnIpams Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnIpamsWithHttpInfo(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnIpamsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnIpams"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/ipams", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnIpams", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnIpams Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnIpamsAsync(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnIpamsWithHttpInfoAsync(createClusterSdnIpamsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnIpams Create a new sdn ipam object. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnIpamsWithHttpInfoAsync(CreateClusterSdnIpamsRequest? createClusterSdnIpamsRequest = default(CreateClusterSdnIpamsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnIpamsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnIpams"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/ipams", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnIpams", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnLock Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnLock(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnLockWithHttpInfo(createClusterSdnLockRequest); return localVarResponse.Data; } /// /// createClusterSdnLock Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnLockWithHttpInfo(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnLockRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnLock"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/lock", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnLock", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnLock Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnLockAsync(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnLockWithHttpInfoAsync(createClusterSdnLockRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnLock Acquire global lock for SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnLockWithHttpInfoAsync(CreateClusterSdnLockRequest? createClusterSdnLockRequest = default(CreateClusterSdnLockRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnLockRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnLock"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/lock", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnLock", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnRollback Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnRollback(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnRollbackWithHttpInfo(createClusterSdnRollbackRequest); return localVarResponse.Data; } /// /// createClusterSdnRollback Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnRollbackWithHttpInfo(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnRollbackRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnRollback"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/rollback", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnRollback", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnRollback Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnRollbackAsync(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnRollbackWithHttpInfoAsync(createClusterSdnRollbackRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnRollback Rollback pending changes to SDN configuration /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnRollbackWithHttpInfoAsync(CreateClusterSdnRollbackRequest? createClusterSdnRollbackRequest = default(CreateClusterSdnRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createClusterSdnRollbackRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnRollback"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/rollback", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnRollback", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnVnetsSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnVnetsSingleFirewallRules(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnVnetsSingleFirewallRulesWithHttpInfo(vnet, createClusterSdnVnetsSingleFirewallRulesRequest); return localVarResponse.Data; } /// /// createClusterSdnVnetsSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnVnetsSingleFirewallRulesWithHttpInfo(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->CreateClusterSdnVnetsSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = createClusterSdnVnetsSingleFirewallRulesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnVnetsSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/vnets/{vnet}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnVnetsSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnVnetsSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnVnetsSingleFirewallRulesAsync(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnVnetsSingleFirewallRulesWithHttpInfoAsync(vnet, createClusterSdnVnetsSingleFirewallRulesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnVnetsSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnVnetsSingleFirewallRulesWithHttpInfoAsync(string vnet, CreateClusterSdnVnetsSingleFirewallRulesRequest? createClusterSdnVnetsSingleFirewallRulesRequest = default(CreateClusterSdnVnetsSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->CreateClusterSdnVnetsSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = createClusterSdnVnetsSingleFirewallRulesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnVnetsSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/vnets/{vnet}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnVnetsSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnVnetsSingleIps Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnVnetsSingleIps(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnVnetsSingleIpsWithHttpInfo(vnet, createClusterSdnVnetsSingleIpsRequest); return localVarResponse.Data; } /// /// createClusterSdnVnetsSingleIps Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnVnetsSingleIpsWithHttpInfo(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->CreateClusterSdnVnetsSingleIps"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = createClusterSdnVnetsSingleIpsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnVnetsSingleIps"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/vnets/{vnet}/ips", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnVnetsSingleIps", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnVnetsSingleIps Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnVnetsSingleIpsAsync(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnVnetsSingleIpsWithHttpInfoAsync(vnet, createClusterSdnVnetsSingleIpsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnVnetsSingleIps Create IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnVnetsSingleIpsWithHttpInfoAsync(string vnet, CreateClusterSdnVnetsSingleIpsRequest? createClusterSdnVnetsSingleIpsRequest = default(CreateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->CreateClusterSdnVnetsSingleIps"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = createClusterSdnVnetsSingleIpsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnVnetsSingleIps"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/vnets/{vnet}/ips", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnVnetsSingleIps", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnVnetsSingleSubnets Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateClusterSdnVnetsSingleSubnets(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateClusterSdnVnetsSingleSubnetsWithHttpInfo(vnet, createClusterSdnVnetsSingleSubnetsRequest); return localVarResponse.Data; } /// /// createClusterSdnVnetsSingleSubnets Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateClusterSdnVnetsSingleSubnetsWithHttpInfo(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->CreateClusterSdnVnetsSingleSubnets"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = createClusterSdnVnetsSingleSubnetsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnVnetsSingleSubnets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/cluster/sdn/vnets/{vnet}/subnets", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnVnetsSingleSubnets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createClusterSdnVnetsSingleSubnets Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateClusterSdnVnetsSingleSubnetsAsync(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateClusterSdnVnetsSingleSubnetsWithHttpInfoAsync(vnet, createClusterSdnVnetsSingleSubnetsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createClusterSdnVnetsSingleSubnets Create a new sdn subnet object. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateClusterSdnVnetsSingleSubnetsWithHttpInfoAsync(string vnet, CreateClusterSdnVnetsSingleSubnetsRequest? createClusterSdnVnetsSingleSubnetsRequest = default(CreateClusterSdnVnetsSingleSubnetsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->CreateClusterSdnVnetsSingleSubnets"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = createClusterSdnVnetsSingleSubnetsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateClusterSdnVnetsSingleSubnets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/cluster/sdn/vnets/{vnet}/subnets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateClusterSdnVnetsSingleSubnets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodeFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodeFirewallRule(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodeFirewallRuleWithHttpInfo(node, createNodeFirewallRuleRequest); return localVarResponse.Data; } /// /// createNodeFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodeFirewallRuleWithHttpInfo(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodeFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodeFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodeFirewallRuleAsync(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodeFirewallRuleWithHttpInfoAsync(node, createNodeFirewallRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodeFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodeFirewallRuleWithHttpInfoAsync(string node, CreateNodeFirewallRuleRequest? createNodeFirewallRuleRequest = default(CreateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodeFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleAplinfo Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleAplinfo(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleAplinfoWithHttpInfo(node, createNodesSingleAplinfoRequest); return localVarResponse.Data; } /// /// createNodesSingleAplinfo Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleAplinfoWithHttpInfo(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleAplinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleAplinfoRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleAplinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/aplinfo", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleAplinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleAplinfo Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleAplinfoAsync(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleAplinfoWithHttpInfoAsync(node, createNodesSingleAplinfoRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleAplinfo Download appliance templates. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleAplinfoWithHttpInfoAsync(string node, CreateNodesSingleAplinfoRequest? createNodesSingleAplinfoRequest = default(CreateNodesSingleAplinfoRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleAplinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleAplinfoRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleAplinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/aplinfo", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleAplinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleAptRepositories Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleAptRepositories(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleAptRepositoriesWithHttpInfo(node, createNodesSingleAptRepositoriesRequest); return localVarResponse.Data; } /// /// createNodesSingleAptRepositories Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleAptRepositoriesWithHttpInfo(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleAptRepositories"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleAptRepositoriesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleAptRepositories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/apt/repositories", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleAptRepositories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleAptRepositories Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleAptRepositoriesAsync(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleAptRepositoriesWithHttpInfoAsync(node, createNodesSingleAptRepositoriesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleAptRepositories Change the properties of a repository. Currently only allows enabling/disabling. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleAptRepositoriesWithHttpInfoAsync(string node, CreateNodesSingleAptRepositoriesRequest? createNodesSingleAptRepositoriesRequest = default(CreateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleAptRepositories"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleAptRepositoriesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleAptRepositories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/apt/repositories", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleAptRepositories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleAptUpdate This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleAptUpdate(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleAptUpdateWithHttpInfo(node, createNodesSingleAptUpdateRequest); return localVarResponse.Data; } /// /// createNodesSingleAptUpdate This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleAptUpdateWithHttpInfo(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleAptUpdate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleAptUpdateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleAptUpdate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/apt/update", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleAptUpdate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleAptUpdate This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleAptUpdateAsync(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleAptUpdateWithHttpInfoAsync(node, createNodesSingleAptUpdateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleAptUpdate This is used to resynchronize the package index files from their sources (apt-get update). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleAptUpdateWithHttpInfoAsync(string node, CreateNodesSingleAptUpdateRequest? createNodesSingleAptUpdateRequest = default(CreateNodesSingleAptUpdateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleAptUpdate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleAptUpdateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleAptUpdate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/apt/update", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleAptUpdate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephFsSingle Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephFsSingle(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephFsSingleWithHttpInfo(name, node, createNodesSingleCephFsSingleRequest); return localVarResponse.Data; } /// /// createNodesSingleCephFsSingle Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephFsSingleWithHttpInfo(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateNodesSingleCephFsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephFsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephFsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephFsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/fs/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephFsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephFsSingle Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephFsSingleAsync(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephFsSingleWithHttpInfoAsync(name, node, createNodesSingleCephFsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephFsSingle Create a Ceph filesystem /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephFsSingleWithHttpInfoAsync(string name, string node, CreateNodesSingleCephFsSingleRequest? createNodesSingleCephFsSingleRequest = default(CreateNodesSingleCephFsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateNodesSingleCephFsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephFsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephFsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephFsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/fs/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephFsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephInit Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephInit(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephInitWithHttpInfo(node, createNodesSingleCephInitRequest); return localVarResponse.Data; } /// /// createNodesSingleCephInit Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephInitWithHttpInfo(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephInit"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephInitRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephInit"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/init", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephInit", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephInit Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephInitAsync(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephInitWithHttpInfoAsync(node, createNodesSingleCephInitRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephInit Create initial ceph default configuration and setup symlinks. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephInitWithHttpInfoAsync(string node, CreateNodesSingleCephInitRequest? createNodesSingleCephInitRequest = default(CreateNodesSingleCephInitRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephInit"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephInitRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephInit"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/init", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephInit", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephMdsSingle Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephMdsSingle(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephMdsSingleWithHttpInfo(name, node, createNodesSingleCephMdsSingleRequest); return localVarResponse.Data; } /// /// createNodesSingleCephMdsSingle Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephMdsSingleWithHttpInfo(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMdsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMdsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephMdsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephMdsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/mds/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephMdsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephMdsSingle Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephMdsSingleAsync(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephMdsSingleWithHttpInfoAsync(name, node, createNodesSingleCephMdsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephMdsSingle Create Ceph Metadata Server (MDS) /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephMdsSingleWithHttpInfoAsync(string name, string node, CreateNodesSingleCephMdsSingleRequest? createNodesSingleCephMdsSingleRequest = default(CreateNodesSingleCephMdsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMdsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMdsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephMdsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephMdsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/mds/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephMdsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephMgrSingle Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephMgrSingle(string id, string node, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephMgrSingleWithHttpInfo(id, node, body); return localVarResponse.Data; } /// /// createNodesSingleCephMgrSingle Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephMgrSingleWithHttpInfo(string id, string node, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMgrSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMgrSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephMgrSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/mgr/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephMgrSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephMgrSingle Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephMgrSingleAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephMgrSingleWithHttpInfoAsync(id, node, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephMgrSingle Create Ceph Manager /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephMgrSingleWithHttpInfoAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMgrSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMgrSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephMgrSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/mgr/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephMgrSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephMonSingle Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephMonSingle(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephMonSingleWithHttpInfo(monid, node, createNodesSingleCephMonSingleRequest); return localVarResponse.Data; } /// /// createNodesSingleCephMonSingle Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephMonSingleWithHttpInfo(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0) { // verify the required parameter 'monid' is set if (monid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'monid' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMonSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMonSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("monid", ProxmoxSharp.Client.ClientUtils.ParameterToString(monid)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephMonSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephMonSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/mon/{monid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephMonSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephMonSingle Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephMonSingleAsync(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephMonSingleWithHttpInfoAsync(monid, node, createNodesSingleCephMonSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephMonSingle Create Ceph Monitor and Manager /// /// Thrown when fails to make API call /// monid /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephMonSingleWithHttpInfoAsync(string monid, string node, CreateNodesSingleCephMonSingleRequest? createNodesSingleCephMonSingleRequest = default(CreateNodesSingleCephMonSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'monid' is set if (monid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'monid' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMonSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephMonSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("monid", ProxmoxSharp.Client.ClientUtils.ParameterToString(monid)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephMonSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephMonSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/mon/{monid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephMonSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsd Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephOsd(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephOsdWithHttpInfo(node, createNodesSingleCephOsdRequest); return localVarResponse.Data; } /// /// createNodesSingleCephOsd Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephOsdWithHttpInfo(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephOsdRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/osd", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsd Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephOsdAsync(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephOsdWithHttpInfoAsync(node, createNodesSingleCephOsdRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephOsd Create OSD /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephOsdWithHttpInfoAsync(string node, CreateNodesSingleCephOsdRequest? createNodesSingleCephOsdRequest = default(CreateNodesSingleCephOsdRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephOsdRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/osd", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsdSingleIn ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephOsdSingleIn(string node, int osdid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephOsdSingleInWithHttpInfo(node, osdid, body); return localVarResponse.Data; } /// /// createNodesSingleCephOsdSingleIn ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephOsdSingleInWithHttpInfo(string node, int osdid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsdSingleIn"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsdSingleIn"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/osd/{osdid}/in", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsdSingleIn", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsdSingleIn ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephOsdSingleInAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephOsdSingleInWithHttpInfoAsync(node, osdid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephOsdSingleIn ceph osd in /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephOsdSingleInWithHttpInfoAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsdSingleIn"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsdSingleIn"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/osd/{osdid}/in", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsdSingleIn", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsdSingleOut ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephOsdSingleOut(string node, int osdid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephOsdSingleOutWithHttpInfo(node, osdid, body); return localVarResponse.Data; } /// /// createNodesSingleCephOsdSingleOut ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephOsdSingleOutWithHttpInfo(string node, int osdid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsdSingleOut"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsdSingleOut"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/osd/{osdid}/out", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsdSingleOut", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsdSingleOut ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephOsdSingleOutAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephOsdSingleOutWithHttpInfoAsync(node, osdid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephOsdSingleOut ceph osd out /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephOsdSingleOutWithHttpInfoAsync(string node, int osdid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsdSingleOut"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsdSingleOut"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/osd/{osdid}/out", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsdSingleOut", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsdSingleScrub Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephOsdSingleScrub(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephOsdSingleScrubWithHttpInfo(node, osdid, createNodesSingleCephOsdSingleScrubRequest); return localVarResponse.Data; } /// /// createNodesSingleCephOsdSingleScrub Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephOsdSingleScrubWithHttpInfo(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsdSingleScrub"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Data = createNodesSingleCephOsdSingleScrubRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsdSingleScrub"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/osd/{osdid}/scrub", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsdSingleScrub", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephOsdSingleScrub Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephOsdSingleScrubAsync(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephOsdSingleScrubWithHttpInfoAsync(node, osdid, createNodesSingleCephOsdSingleScrubRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephOsdSingleScrub Instruct the OSD to scrub. /// /// Thrown when fails to make API call /// node /// osdid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephOsdSingleScrubWithHttpInfoAsync(string node, int osdid, CreateNodesSingleCephOsdSingleScrubRequest? createNodesSingleCephOsdSingleScrubRequest = default(CreateNodesSingleCephOsdSingleScrubRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephOsdSingleScrub"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Data = createNodesSingleCephOsdSingleScrubRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephOsdSingleScrub"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/osd/{osdid}/scrub", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephOsdSingleScrub", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephPool Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephPool(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephPoolWithHttpInfo(node, createNodesSingleCephPoolRequest); return localVarResponse.Data; } /// /// createNodesSingleCephPool Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephPoolWithHttpInfo(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephPool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephPoolRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephPool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/pool", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephPool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephPool Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephPoolAsync(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephPoolWithHttpInfoAsync(node, createNodesSingleCephPoolRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephPool Create Ceph pool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephPoolWithHttpInfoAsync(string node, CreateNodesSingleCephPoolRequest? createNodesSingleCephPoolRequest = default(CreateNodesSingleCephPoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephPool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephPoolRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephPool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/pool", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephPool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephRestart Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephRestart(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephRestartWithHttpInfo(node, createNodesSingleCephRestartRequest); return localVarResponse.Data; } /// /// createNodesSingleCephRestart Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephRestartWithHttpInfo(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephRestart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephRestartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephRestart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/restart", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephRestart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephRestart Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephRestartAsync(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephRestartWithHttpInfoAsync(node, createNodesSingleCephRestartRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephRestart Restart ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephRestartWithHttpInfoAsync(string node, CreateNodesSingleCephRestartRequest? createNodesSingleCephRestartRequest = default(CreateNodesSingleCephRestartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephRestart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephRestartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephRestart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/restart", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephRestart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephStart Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephStart(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephStartWithHttpInfo(node, createNodesSingleCephStartRequest); return localVarResponse.Data; } /// /// createNodesSingleCephStart Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephStartWithHttpInfo(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephStart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephStartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/start", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephStart Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephStartAsync(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephStartWithHttpInfoAsync(node, createNodesSingleCephStartRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephStart Start ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephStartWithHttpInfoAsync(string node, CreateNodesSingleCephStartRequest? createNodesSingleCephStartRequest = default(CreateNodesSingleCephStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephStart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephStartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/start", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephStop Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCephStop(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCephStopWithHttpInfo(node, createNodesSingleCephStopRequest); return localVarResponse.Data; } /// /// createNodesSingleCephStop Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCephStopWithHttpInfo(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephStop"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephStopRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephStop"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/ceph/stop", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephStop", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCephStop Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCephStopAsync(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCephStopWithHttpInfoAsync(node, createNodesSingleCephStopRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCephStop Stop ceph services. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCephStopWithHttpInfoAsync(string node, CreateNodesSingleCephStopRequest? createNodesSingleCephStopRequest = default(CreateNodesSingleCephStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCephStop"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCephStopRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCephStop"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/ceph/stop", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCephStop", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCertificatesAcmeCertificate Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleCertificatesAcmeCertificate(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCertificatesAcmeCertificateWithHttpInfo(node, createNodesSingleCertificatesAcmeCertificateRequest); return localVarResponse.Data; } /// /// createNodesSingleCertificatesAcmeCertificate Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCertificatesAcmeCertificateWithHttpInfo(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCertificatesAcmeCertificate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCertificatesAcmeCertificateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCertificatesAcmeCertificate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/certificates/acme/certificate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCertificatesAcmeCertificate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCertificatesAcmeCertificate Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleCertificatesAcmeCertificateAsync(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(node, createNodesSingleCertificatesAcmeCertificateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCertificatesAcmeCertificate Order a new certificate from ACME-compatible CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(string node, CreateNodesSingleCertificatesAcmeCertificateRequest? createNodesSingleCertificatesAcmeCertificateRequest = default(CreateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCertificatesAcmeCertificate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCertificatesAcmeCertificateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCertificatesAcmeCertificate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/certificates/acme/certificate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCertificatesAcmeCertificate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCertificatesCustom Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateNodesSingleCertificatesCustom200Response public CreateNodesSingleCertificatesCustom200Response CreateNodesSingleCertificatesCustom(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleCertificatesCustomWithHttpInfo(node, createNodesSingleCertificatesCustomRequest); return localVarResponse.Data; } /// /// createNodesSingleCertificatesCustom Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleCertificatesCustom200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleCertificatesCustomWithHttpInfo(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCertificatesCustom"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCertificatesCustomRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCertificatesCustom"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/certificates/custom", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCertificatesCustom", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleCertificatesCustom Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleCertificatesCustom200Response public async System.Threading.Tasks.Task CreateNodesSingleCertificatesCustomAsync(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleCertificatesCustomWithHttpInfoAsync(node, createNodesSingleCertificatesCustomRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleCertificatesCustom Upload or update custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleCertificatesCustom200Response) public async System.Threading.Tasks.Task> CreateNodesSingleCertificatesCustomWithHttpInfoAsync(string node, CreateNodesSingleCertificatesCustomRequest? createNodesSingleCertificatesCustomRequest = default(CreateNodesSingleCertificatesCustomRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleCertificatesCustom"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleCertificatesCustomRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleCertificatesCustom"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/certificates/custom", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleCertificatesCustom", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksDirectory Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleDisksDirectory(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleDisksDirectoryWithHttpInfo(node, createNodesSingleDisksDirectoryRequest); return localVarResponse.Data; } /// /// createNodesSingleDisksDirectory Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleDisksDirectoryWithHttpInfo(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksDirectory"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksDirectoryRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksDirectory"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/disks/directory", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksDirectory", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksDirectory Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleDisksDirectoryAsync(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleDisksDirectoryWithHttpInfoAsync(node, createNodesSingleDisksDirectoryRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleDisksDirectory Create a Filesystem on an unused disk. Will be mounted under '/mnt/pve/NAME'. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleDisksDirectoryWithHttpInfoAsync(string node, CreateNodesSingleDisksDirectoryRequest? createNodesSingleDisksDirectoryRequest = default(CreateNodesSingleDisksDirectoryRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksDirectory"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksDirectoryRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksDirectory"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/disks/directory", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksDirectory", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksInitgpt Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleDisksInitgpt(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleDisksInitgptWithHttpInfo(node, createNodesSingleDisksInitgptRequest); return localVarResponse.Data; } /// /// createNodesSingleDisksInitgpt Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleDisksInitgptWithHttpInfo(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksInitgpt"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksInitgptRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksInitgpt"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/disks/initgpt", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksInitgpt", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksInitgpt Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleDisksInitgptAsync(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleDisksInitgptWithHttpInfoAsync(node, createNodesSingleDisksInitgptRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleDisksInitgpt Initialize Disk with GPT /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleDisksInitgptWithHttpInfoAsync(string node, CreateNodesSingleDisksInitgptRequest? createNodesSingleDisksInitgptRequest = default(CreateNodesSingleDisksInitgptRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksInitgpt"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksInitgptRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksInitgpt"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/disks/initgpt", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksInitgpt", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksLvm Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleDisksLvm(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleDisksLvmWithHttpInfo(node, createNodesSingleDisksLvmRequest); return localVarResponse.Data; } /// /// createNodesSingleDisksLvm Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleDisksLvmWithHttpInfo(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksLvm"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksLvmRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksLvm"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/disks/lvm", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksLvm", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksLvm Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleDisksLvmAsync(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleDisksLvmWithHttpInfoAsync(node, createNodesSingleDisksLvmRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleDisksLvm Create an LVM Volume Group /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleDisksLvmWithHttpInfoAsync(string node, CreateNodesSingleDisksLvmRequest? createNodesSingleDisksLvmRequest = default(CreateNodesSingleDisksLvmRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksLvm"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksLvmRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksLvm"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/disks/lvm", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksLvm", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksLvmthin Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleDisksLvmthin(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleDisksLvmthinWithHttpInfo(node, createNodesSingleDisksLvmthinRequest); return localVarResponse.Data; } /// /// createNodesSingleDisksLvmthin Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleDisksLvmthinWithHttpInfo(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksLvmthin"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksLvmthinRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksLvmthin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/disks/lvmthin", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksLvmthin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksLvmthin Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleDisksLvmthinAsync(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleDisksLvmthinWithHttpInfoAsync(node, createNodesSingleDisksLvmthinRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleDisksLvmthin Create an LVM thinpool /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleDisksLvmthinWithHttpInfoAsync(string node, CreateNodesSingleDisksLvmthinRequest? createNodesSingleDisksLvmthinRequest = default(CreateNodesSingleDisksLvmthinRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksLvmthin"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksLvmthinRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksLvmthin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/disks/lvmthin", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksLvmthin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksZfs Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleDisksZfs(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleDisksZfsWithHttpInfo(node, createNodesSingleDisksZfsRequest); return localVarResponse.Data; } /// /// createNodesSingleDisksZfs Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleDisksZfsWithHttpInfo(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksZfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksZfsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksZfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/disks/zfs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksZfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleDisksZfs Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleDisksZfsAsync(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleDisksZfsWithHttpInfoAsync(node, createNodesSingleDisksZfsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleDisksZfs Create a ZFS pool. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleDisksZfsWithHttpInfoAsync(string node, CreateNodesSingleDisksZfsRequest? createNodesSingleDisksZfsRequest = default(CreateNodesSingleDisksZfsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleDisksZfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleDisksZfsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleDisksZfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/disks/zfs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleDisksZfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleExecute Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response CreateNodesSingleExecute(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleExecuteWithHttpInfo(node, createNodesSingleExecuteRequest); return localVarResponse.Data; } /// /// createNodesSingleExecute Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleExecuteWithHttpInfo(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleExecute"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleExecuteRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleExecute"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/execute", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleExecute", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleExecute Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task CreateNodesSingleExecuteAsync(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleExecuteWithHttpInfoAsync(node, createNodesSingleExecuteRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleExecute Execute multiple commands in order, root only. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> CreateNodesSingleExecuteWithHttpInfoAsync(string node, CreateNodesSingleExecuteRequest? createNodesSingleExecuteRequest = default(CreateNodesSingleExecuteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleExecute"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleExecuteRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleExecute"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/execute", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleExecute", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleHosts Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleHosts(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleHostsWithHttpInfo(node, createNodesSingleHostsRequest); return localVarResponse.Data; } /// /// createNodesSingleHosts Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleHostsWithHttpInfo(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleHosts"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleHostsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleHosts"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/hosts", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleHosts", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleHosts Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleHostsAsync(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleHostsWithHttpInfoAsync(node, createNodesSingleHostsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleHosts Write /etc/hosts. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleHostsWithHttpInfoAsync(string node, CreateNodesSingleHostsRequest? createNodesSingleHostsRequest = default(CreateNodesSingleHostsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleHosts"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleHostsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleHosts"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/hosts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleHosts", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxc Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxc(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcWithHttpInfo(node, createNodesSingleLxcRequest); return localVarResponse.Data; } /// /// createNodesSingleLxc Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcWithHttpInfo(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxc"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxc"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxc", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxc Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcAsync(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcWithHttpInfoAsync(node, createNodesSingleLxcRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxc Create or restore a container. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcWithHttpInfoAsync(string node, CreateNodesSingleLxcRequest? createNodesSingleLxcRequest = default(CreateNodesSingleLxcRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxc"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxc"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxc", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleClone Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleClone(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleCloneWithHttpInfo(node, vmid, createNodesSingleLxcSingleCloneRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleClone Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleCloneWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleClone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleCloneRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleClone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/clone", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleClone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleClone Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleCloneAsync(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleCloneWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleCloneRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleClone Create a container clone/copy /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleCloneWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleCloneRequest? createNodesSingleLxcSingleCloneRequest = default(CreateNodesSingleLxcSingleCloneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleClone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleCloneRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleClone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/clone", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleClone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallAliases(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleFirewallAliasesWithHttpInfo(node, vmid, createNodesSingleLxcSingleFirewallAliasesRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleFirewallAliasesWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallAliasesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallAliasesAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleFirewallAliasesWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleFirewallAliasesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallAliasesRequest? createNodesSingleLxcSingleFirewallAliasesRequest = default(CreateNodesSingleLxcSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallAliasesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallIpset Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallIpset(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleFirewallIpsetWithHttpInfo(node, vmid, createNodesSingleLxcSingleFirewallIpsetRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallIpset Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleFirewallIpsetWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallIpset"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallIpsetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallIpset"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallIpset", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallIpset Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallIpsetAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleFirewallIpsetWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleFirewallIpsetRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallIpset Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallIpsetWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetRequest? createNodesSingleLxcSingleFirewallIpsetRequest = default(CreateNodesSingleLxcSingleFirewallIpsetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallIpset"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallIpsetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallIpset"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallIpset", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallIpsetSingle Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallIpsetSingle(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(name, node, vmid, createNodesSingleLxcSingleFirewallIpsetSingleRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallIpsetSingle Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallIpsetSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallIpsetSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallIpsetSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallIpsetSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallIpsetSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallIpsetSingle Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallIpsetSingleAsync(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(name, node, vmid, createNodesSingleLxcSingleFirewallIpsetSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallIpsetSingle Add IP or Network to IPSet. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(string name, string node, int vmid, CreateNodesSingleLxcSingleFirewallIpsetSingleRequest? createNodesSingleLxcSingleFirewallIpsetSingleRequest = default(CreateNodesSingleLxcSingleFirewallIpsetSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallIpsetSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallIpsetSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallIpsetSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallIpsetSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallIpsetSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleFirewallRules(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleFirewallRulesWithHttpInfo(node, vmid, createNodesSingleLxcSingleFirewallRulesRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleFirewallRulesWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallRulesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleFirewallRulesAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleFirewallRulesWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleFirewallRulesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleFirewallRules Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleFirewallRulesWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleFirewallRulesRequest? createNodesSingleLxcSingleFirewallRulesRequest = default(CreateNodesSingleLxcSingleFirewallRulesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleFirewallRulesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleMigrate Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleMigrate(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleMigrateWithHttpInfo(node, vmid, createNodesSingleLxcSingleMigrateRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleMigrate Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleMigrateWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleMigrate Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleMigrateAsync(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleMigrateWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleMigrateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleMigrate Migrate the container to another node. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleMigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleMigrateRequest? createNodesSingleLxcSingleMigrateRequest = default(CreateNodesSingleLxcSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleMovevolume Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleMovevolume(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleMovevolumeWithHttpInfo(node, vmid, createNodesSingleLxcSingleMovevolumeRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleMovevolume Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleMovevolumeWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleMovevolume"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleMovevolumeRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleMovevolume"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/move_volume", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleMovevolume", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleMovevolume Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleMovevolumeAsync(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleMovevolumeWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleMovevolumeRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleMovevolume Move a rootfs-/mp-volume to a different storage or to a different container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleMovevolumeWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleMovevolumeRequest? createNodesSingleLxcSingleMovevolumeRequest = default(CreateNodesSingleLxcSingleMovevolumeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleMovevolume"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleMovevolumeRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleMovevolume"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/move_volume", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleMovevolume", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleMtunnel Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleMtunnel(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleMtunnelWithHttpInfo(node, vmid, createNodesSingleLxcSingleMtunnelRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleMtunnel Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleMtunnelWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleMtunnel"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleMtunnelRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleMtunnel"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/mtunnel", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleMtunnel", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleMtunnel Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleMtunnelAsync(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleMtunnelWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleMtunnelRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleMtunnel Migration tunnel endpoint - only for internal use by CT migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleMtunnelWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleMtunnelRequest? createNodesSingleLxcSingleMtunnelRequest = default(CreateNodesSingleLxcSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleMtunnel"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleMtunnelRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleMtunnel"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/mtunnel", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleMtunnel", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleRemotemigrate Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleRemotemigrate(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleRemotemigrateWithHttpInfo(node, vmid, createNodesSingleLxcSingleRemotemigrateRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleRemotemigrate Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleRemotemigrateWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleRemotemigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleRemotemigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleRemotemigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/remote_migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleRemotemigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleRemotemigrate Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleRemotemigrateAsync(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleRemotemigrateWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleRemotemigrateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleRemotemigrate Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleRemotemigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleRemotemigrateRequest? createNodesSingleLxcSingleRemotemigrateRequest = default(CreateNodesSingleLxcSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleRemotemigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleRemotemigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleRemotemigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/remote_migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleRemotemigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleSnapshot Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleSnapshot(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleSnapshotWithHttpInfo(node, vmid, createNodesSingleLxcSingleSnapshotRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleSnapshot Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleSnapshotWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleSnapshotRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/snapshot", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleSnapshot Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleSnapshotAsync(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleSnapshotWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleSnapshotRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleSnapshot Snapshot a container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleSnapshotWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleSnapshotRequest? createNodesSingleLxcSingleSnapshotRequest = default(CreateNodesSingleLxcSingleSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleSnapshotRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/snapshot", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleSnapshotSingleRollback Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleLxcSingleSnapshotSingleRollback(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleSnapshotSingleRollbackWithHttpInfo(node, snapname, vmid, createNodesSingleLxcSingleSnapshotSingleRollbackRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleSnapshotSingleRollback Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleSnapshotSingleRollbackWithHttpInfo(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSnapshotSingleRollback"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSnapshotSingleRollback"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleSnapshotSingleRollbackRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleSnapshotSingleRollback"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/rollback", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleSnapshotSingleRollback", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleSnapshotSingleRollback Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleSnapshotSingleRollbackAsync(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleSnapshotSingleRollbackWithHttpInfoAsync(node, snapname, vmid, createNodesSingleLxcSingleSnapshotSingleRollbackRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleSnapshotSingleRollback Rollback LXC state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleSnapshotSingleRollbackWithHttpInfoAsync(string node, string snapname, int vmid, CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest? createNodesSingleLxcSingleSnapshotSingleRollbackRequest = default(CreateNodesSingleLxcSingleSnapshotSingleRollbackRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSnapshotSingleRollback"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSnapshotSingleRollback"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleSnapshotSingleRollbackRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleSnapshotSingleRollback"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/rollback", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleSnapshotSingleRollback", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleSpiceproxy Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleSpiceproxy200Response public CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleLxcSingleSpiceproxy(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleSpiceproxyWithHttpInfo(node, vmid, createNodesSingleLxcSingleSpiceproxyRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleSpiceproxy Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleSpiceproxy200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleSpiceproxyWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSpiceproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleSpiceproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleSpiceproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/spiceproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleSpiceproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleSpiceproxy Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleSpiceproxy200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleSpiceproxyAsync(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleSpiceproxyWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleSpiceproxyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleSpiceproxy Returns a SPICE configuration to connect to the CT. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleSpiceproxy200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleSpiceproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleSpiceproxyRequest? createNodesSingleLxcSingleSpiceproxyRequest = default(CreateNodesSingleLxcSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleSpiceproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleSpiceproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleSpiceproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/spiceproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleSpiceproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusReboot Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusReboot(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleStatusRebootWithHttpInfo(node, vmid, createNodesSingleLxcSingleStatusRebootRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusReboot Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleStatusRebootWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusReboot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusRebootRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusReboot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/status/reboot", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusReboot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusReboot Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusRebootAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleStatusRebootWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleStatusRebootRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusReboot Reboot the container by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusRebootWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusRebootRequest? createNodesSingleLxcSingleStatusRebootRequest = default(CreateNodesSingleLxcSingleStatusRebootRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusReboot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusRebootRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusReboot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/status/reboot", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusReboot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusResume Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusResume(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleStatusResumeWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusResume Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleStatusResumeWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusResume"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusResume"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/status/resume", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusResume", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusResume Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusResumeAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleStatusResumeWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusResume Resume the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusResumeWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusResume"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusResume"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/status/resume", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusResume", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusShutdown Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusShutdown(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleStatusShutdownWithHttpInfo(node, vmid, createNodesSingleLxcSingleStatusShutdownRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusShutdown Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleStatusShutdownWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusShutdown"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusShutdownRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusShutdown"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/status/shutdown", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusShutdown", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusShutdown Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusShutdownAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleStatusShutdownWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleStatusShutdownRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusShutdown Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusShutdownWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusShutdownRequest? createNodesSingleLxcSingleStatusShutdownRequest = default(CreateNodesSingleLxcSingleStatusShutdownRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusShutdown"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusShutdownRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusShutdown"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/status/shutdown", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusShutdown", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusStart Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusStart(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleStatusStartWithHttpInfo(node, vmid, createNodesSingleLxcSingleStatusStartRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusStart Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleStatusStartWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusStart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusStartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/status/start", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusStart Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusStartAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleStatusStartWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleStatusStartRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusStart Start the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusStartWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStartRequest? createNodesSingleLxcSingleStatusStartRequest = default(CreateNodesSingleLxcSingleStatusStartRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusStart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusStartRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/status/start", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusStop Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusStop(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleStatusStopWithHttpInfo(node, vmid, createNodesSingleLxcSingleStatusStopRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusStop Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleStatusStopWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusStop"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusStopRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusStop"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/status/stop", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusStop", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusStop Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusStopAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleStatusStopWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleStatusStopRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusStop Stop the container. This will abruptly stop all processes running in the container. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusStopWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleStatusStopRequest? createNodesSingleLxcSingleStatusStopRequest = default(CreateNodesSingleLxcSingleStatusStopRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusStop"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleStatusStopRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusStop"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/status/stop", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusStop", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusSuspend Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleStatusSuspend(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleStatusSuspendWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusSuspend Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleStatusSuspendWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusSuspend"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusSuspend"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/status/suspend", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusSuspend", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleStatusSuspend Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleStatusSuspendAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleStatusSuspendWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleStatusSuspend Suspend the container. This is experimental. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleStatusSuspendWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleStatusSuspend"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleStatusSuspend"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/status/suspend", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleStatusSuspend", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleTemplate(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleTemplateWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleTemplateWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleTemplate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleTemplate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/template", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleTemplate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleTemplateAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleTemplateWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleTemplateWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleTemplate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleTemplate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/template", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleTemplate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleTermproxy Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleTermproxy(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleTermproxyWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleTermproxy Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleTermproxyWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleTermproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleTermproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/termproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleTermproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleTermproxy Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleTermproxyAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleTermproxyWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleTermproxy Creates a TCP proxy connection. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleTermproxyWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleTermproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleTermproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/termproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleTermproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleLxcSingleVncproxy(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleLxcSingleVncproxyWithHttpInfo(node, vmid, createNodesSingleLxcSingleVncproxyRequest); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleLxcSingleVncproxyWithHttpInfo(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleVncproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleVncproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleVncproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/lxc/{vmid}/vncproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleVncproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleLxcSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleLxcSingleVncproxyAsync(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleLxcSingleVncproxyWithHttpInfoAsync(node, vmid, createNodesSingleLxcSingleVncproxyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleLxcSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleLxcSingleVncproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleLxcSingleVncproxyRequest? createNodesSingleLxcSingleVncproxyRequest = default(CreateNodesSingleLxcSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleLxcSingleVncproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleLxcSingleVncproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleLxcSingleVncproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/lxc/{vmid}/vncproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleLxcSingleVncproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleMigrateall Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleMigrateall(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleMigrateallWithHttpInfo(node, createNodesSingleMigrateallRequest); return localVarResponse.Data; } /// /// createNodesSingleMigrateall Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleMigrateallWithHttpInfo(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleMigrateall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleMigrateallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleMigrateall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/migrateall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleMigrateall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleMigrateall Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleMigrateallAsync(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleMigrateallWithHttpInfoAsync(node, createNodesSingleMigrateallRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleMigrateall Migrate all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleMigrateallWithHttpInfoAsync(string node, CreateNodesSingleMigrateallRequest? createNodesSingleMigrateallRequest = default(CreateNodesSingleMigrateallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleMigrateall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleMigrateallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleMigrateall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/migrateall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleMigrateall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleNetwork Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleNetwork(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleNetworkWithHttpInfo(node, createNodesSingleNetworkRequest); return localVarResponse.Data; } /// /// createNodesSingleNetwork Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleNetworkWithHttpInfo(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleNetworkRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/network", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleNetwork Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleNetworkAsync(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleNetworkWithHttpInfoAsync(node, createNodesSingleNetworkRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleNetwork Create network device configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleNetworkWithHttpInfoAsync(string node, CreateNodesSingleNetworkRequest? createNodesSingleNetworkRequest = default(CreateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleNetworkRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/network", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgent Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgent(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentWithHttpInfo(node, vmid, createNodesSingleQemuSingleAgentRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgent Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgent Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleAgentRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgent Execute QEMU Guest Agent commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentRequest? createNodesSingleQemuSingleAgentRequest = default(CreateNodesSingleQemuSingleAgentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentExec Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgentExec200Response public CreateNodesSingleQemuSingleAgentExec200Response CreateNodesSingleQemuSingleAgentExec(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentExecWithHttpInfo(node, vmid, createNodesSingleQemuSingleAgentExecRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentExec Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgentExec200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentExecWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentExec"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentExecRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentExec"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/exec", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentExec", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentExec Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgentExec200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentExecAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentExecWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleAgentExecRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentExec Executes the given command in the vm via the guest-agent and returns an object with the pid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgentExec200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentExecWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentExecRequest? createNodesSingleQemuSingleAgentExecRequest = default(CreateNodesSingleQemuSingleAgentExecRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentExec"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentExecRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentExec"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/exec", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentExec", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFilewrite Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleAgentFilewrite(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentFilewriteWithHttpInfo(node, vmid, createNodesSingleQemuSingleAgentFilewriteRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFilewrite Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentFilewriteWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFilewrite"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentFilewriteRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFilewrite"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/file-write", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFilewrite", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFilewrite Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFilewriteAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentFilewriteWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleAgentFilewriteRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFilewrite Writes the given file via guest agent. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFilewriteWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentFilewriteRequest? createNodesSingleQemuSingleAgentFilewriteRequest = default(CreateNodesSingleQemuSingleAgentFilewriteRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFilewrite"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentFilewriteRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFilewrite"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/file-write", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFilewrite", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFsfreezefreeze Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFsfreezefreeze(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentFsfreezefreezeWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFsfreezefreeze Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentFsfreezefreezeWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFsfreezefreeze"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFsfreezefreeze"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/fsfreeze-freeze", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFsfreezefreeze", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFsfreezefreeze Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFsfreezefreezeAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentFsfreezefreezeWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFsfreezefreeze Execute fsfreeze-freeze. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFsfreezefreezeWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFsfreezefreeze"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFsfreezefreeze"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/fsfreeze-freeze", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFsfreezefreeze", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFsfreezestatus Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFsfreezestatus(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentFsfreezestatusWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFsfreezestatus Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentFsfreezestatusWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFsfreezestatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFsfreezestatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/fsfreeze-status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFsfreezestatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFsfreezestatus Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFsfreezestatusAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentFsfreezestatusWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFsfreezestatus Execute fsfreeze-status. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFsfreezestatusWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFsfreezestatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFsfreezestatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/fsfreeze-status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFsfreezestatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFsfreezethaw Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFsfreezethaw(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentFsfreezethawWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFsfreezethaw Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentFsfreezethawWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFsfreezethaw"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFsfreezethaw"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/fsfreeze-thaw", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFsfreezethaw", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFsfreezethaw Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFsfreezethawAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentFsfreezethawWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFsfreezethaw Execute fsfreeze-thaw. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFsfreezethawWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFsfreezethaw"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFsfreezethaw"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/fsfreeze-thaw", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFsfreezethaw", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFstrim Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentFstrim(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentFstrimWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFstrim Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentFstrimWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFstrim"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFstrim"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/fstrim", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFstrim", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentFstrim Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentFstrimAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentFstrimWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentFstrim Execute fstrim. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentFstrimWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentFstrim"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentFstrim"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/fstrim", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentFstrim", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentPing Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentPing(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentPingWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentPing Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentPingWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentPing"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentPing"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/ping", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentPing", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentPing Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentPingAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentPingWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentPing Execute ping. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentPingWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentPing"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentPing"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/ping", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentPing", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSetuserpassword Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSetuserpassword(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentSetuserpasswordWithHttpInfo(node, vmid, createNodesSingleQemuSingleAgentSetuserpasswordRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSetuserpassword Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentSetuserpasswordWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSetuserpassword"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentSetuserpasswordRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSetuserpassword"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/set-user-password", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSetuserpassword", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSetuserpassword Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSetuserpasswordAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentSetuserpasswordWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleAgentSetuserpasswordRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSetuserpassword Sets the password for the given user to the given password /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSetuserpasswordWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleAgentSetuserpasswordRequest? createNodesSingleQemuSingleAgentSetuserpasswordRequest = default(CreateNodesSingleQemuSingleAgentSetuserpasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSetuserpassword"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleAgentSetuserpasswordRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSetuserpassword"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/set-user-password", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSetuserpassword", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentShutdown Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentShutdown(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentShutdownWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentShutdown Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentShutdownWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentShutdown"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentShutdown"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/shutdown", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentShutdown", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentShutdown Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentShutdownAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentShutdownWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentShutdown Execute shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentShutdownWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentShutdown"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentShutdown"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/shutdown", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentShutdown", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSuspenddisk Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSuspenddisk(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentSuspenddiskWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSuspenddisk Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentSuspenddiskWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSuspenddisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSuspenddisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/suspend-disk", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSuspenddisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSuspenddisk Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSuspenddiskAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentSuspenddiskWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSuspenddisk Execute suspend-disk. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSuspenddiskWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSuspenddisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSuspenddisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/suspend-disk", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSuspenddisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSuspendhybrid Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSuspendhybrid(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentSuspendhybridWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSuspendhybrid Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentSuspendhybridWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSuspendhybrid"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSuspendhybrid"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/suspend-hybrid", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSuspendhybrid", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSuspendhybrid Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSuspendhybridAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentSuspendhybridWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSuspendhybrid Execute suspend-hybrid. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSuspendhybridWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSuspendhybrid"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSuspendhybrid"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/suspend-hybrid", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSuspendhybrid", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSuspendram Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response CreateNodesSingleQemuSingleAgentSuspendram(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleAgentSuspendramWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSuspendram Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleAgentSuspendramWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSuspendram"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSuspendram"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/agent/suspend-ram", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSuspendram", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleAgentSuspendram Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleAgentSuspendramAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleAgentSuspendramWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleAgentSuspendram Execute suspend-ram. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleAgentSuspendramWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleAgentSuspendram"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleAgentSuspendram"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/agent/suspend-ram", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleAgentSuspendram", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleDbusvmstate Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleDbusvmstate(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleDbusvmstateWithHttpInfo(node, vmid, createNodesSingleQemuSingleDbusvmstateRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleDbusvmstate Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleDbusvmstateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleDbusvmstate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleDbusvmstateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleDbusvmstate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/dbus-vmstate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleDbusvmstate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleDbusvmstate Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleDbusvmstateAsync(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleDbusvmstateWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleDbusvmstateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleDbusvmstate Control the dbus-vmstate helper for a given running VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleDbusvmstateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleDbusvmstateRequest? createNodesSingleQemuSingleDbusvmstateRequest = default(CreateNodesSingleQemuSingleDbusvmstateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleDbusvmstate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleDbusvmstateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleDbusvmstate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/dbus-vmstate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleDbusvmstate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleFirewallAliases(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleFirewallAliasesWithHttpInfo(node, vmid, createNodesSingleQemuSingleFirewallAliasesRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleFirewallAliasesWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleFirewallAliasesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleFirewallAliasesAsync(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleFirewallAliasesWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleFirewallAliasesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleFirewallAliases Create IP or Network Alias. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleFirewallAliasesRequest? createNodesSingleQemuSingleFirewallAliasesRequest = default(CreateNodesSingleQemuSingleFirewallAliasesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleFirewallAliasesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMigrate Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMigrate(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleMigrateWithHttpInfo(node, vmid, createNodesSingleQemuSingleMigrateRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMigrate Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleMigrateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMigrate Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleMigrateAsync(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleMigrateWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleMigrateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMigrate Migrate virtual machine. Creates a new migration task. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMigrateRequest? createNodesSingleQemuSingleMigrateRequest = default(CreateNodesSingleQemuSingleMigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMonitor Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleMonitor(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleMonitorWithHttpInfo(node, vmid, createNodesSingleQemuSingleMonitorRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMonitor Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleMonitorWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMonitor"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMonitorRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMonitor"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/monitor", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMonitor", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMonitor Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleMonitorAsync(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleMonitorWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleMonitorRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMonitor Execute QEMU monitor commands. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMonitorWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMonitorRequest? createNodesSingleQemuSingleMonitorRequest = default(CreateNodesSingleQemuSingleMonitorRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMonitor"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMonitorRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMonitor"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/monitor", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMonitor", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMovedisk Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleMovedisk(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleMovediskWithHttpInfo(node, vmid, createNodesSingleQemuSingleMovediskRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMovedisk Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleMovediskWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMovedisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMovediskRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMovedisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/move_disk", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMovedisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMovedisk Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleMovediskAsync(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleMovediskWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleMovediskRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMovedisk Move volume to different storage or to a different VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMovediskWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMovediskRequest? createNodesSingleQemuSingleMovediskRequest = default(CreateNodesSingleQemuSingleMovediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMovedisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMovediskRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMovedisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/move_disk", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMovedisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMtunnel Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleMtunnel(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleMtunnelWithHttpInfo(node, vmid, createNodesSingleQemuSingleMtunnelRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMtunnel Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleMtunnelWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMtunnel"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMtunnelRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMtunnel"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/mtunnel", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMtunnel", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleMtunnel Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleMtunnelAsync(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleMtunnelWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleMtunnelRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleMtunnel Migration tunnel endpoint - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleMtunnelWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleMtunnelRequest? createNodesSingleQemuSingleMtunnelRequest = default(CreateNodesSingleQemuSingleMtunnelRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleMtunnel"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleMtunnelRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleMtunnel"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/mtunnel", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleMtunnel", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleRemotemigrate Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleRemotemigrate(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleRemotemigrateWithHttpInfo(node, vmid, createNodesSingleQemuSingleRemotemigrateRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleRemotemigrate Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleRemotemigrateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleRemotemigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleRemotemigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleRemotemigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/remote_migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleRemotemigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleRemotemigrate Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleRemotemigrateAsync(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleRemotemigrateWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleRemotemigrateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleRemotemigrate Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature! /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleRemotemigrateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleRemotemigrateRequest? createNodesSingleQemuSingleRemotemigrateRequest = default(CreateNodesSingleQemuSingleRemotemigrateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleRemotemigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleRemotemigrateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleRemotemigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/remote_migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleRemotemigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleSpiceproxy Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleSpiceproxy200Response public CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleQemuSingleSpiceproxy(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleSpiceproxyWithHttpInfo(node, vmid, createNodesSingleQemuSingleSpiceproxyRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleSpiceproxy Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleSpiceproxy200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleSpiceproxyWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleSpiceproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleSpiceproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleSpiceproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/spiceproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleSpiceproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleSpiceproxy Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleSpiceproxy200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleSpiceproxyAsync(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleSpiceproxyWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleSpiceproxyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleSpiceproxy Returns a SPICE configuration to connect to the VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleSpiceproxy200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleSpiceproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleSpiceproxyRequest? createNodesSingleQemuSingleSpiceproxyRequest = default(CreateNodesSingleQemuSingleSpiceproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleSpiceproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleSpiceproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleSpiceproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/spiceproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleSpiceproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateNodesSingleQemuSingleTemplate(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleTemplateWithHttpInfo(node, vmid, createNodesSingleQemuSingleTemplateRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleTemplateWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleTemplate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleTemplateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleTemplate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/template", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleTemplate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleTemplateAsync(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleTemplateWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleTemplateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleTemplate Create a Template. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleTemplateWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleTemplateRequest? createNodesSingleQemuSingleTemplateRequest = default(CreateNodesSingleQemuSingleTemplateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleTemplate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleTemplateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleTemplate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/template", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleTemplate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleTermproxy Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleTermproxy(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleTermproxyWithHttpInfo(node, vmid, createNodesSingleQemuSingleTermproxyRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleTermproxy Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleTermproxyWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleTermproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleTermproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleTermproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/termproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleTermproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleTermproxy Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleTermproxyAsync(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleTermproxyWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleTermproxyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleTermproxy Creates a TCP proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleTermproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleTermproxyRequest? createNodesSingleQemuSingleTermproxyRequest = default(CreateNodesSingleQemuSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleTermproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleTermproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleTermproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/termproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleTermproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleQemuSingleVncproxy(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleQemuSingleVncproxyWithHttpInfo(node, vmid, createNodesSingleQemuSingleVncproxyRequest); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleQemuSingleVncproxyWithHttpInfo(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleVncproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleVncproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleVncproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/vncproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleVncproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleQemuSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleQemuSingleVncproxyAsync(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleQemuSingleVncproxyWithHttpInfoAsync(node, vmid, createNodesSingleQemuSingleVncproxyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleQemuSingleVncproxy Creates a TCP VNC proxy connections. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleQemuSingleVncproxyWithHttpInfoAsync(string node, int vmid, CreateNodesSingleQemuSingleVncproxyRequest? createNodesSingleQemuSingleVncproxyRequest = default(CreateNodesSingleQemuSingleVncproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleQemuSingleVncproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createNodesSingleQemuSingleVncproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleQemuSingleVncproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/vncproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleQemuSingleVncproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleReplicationSingleSchedulenow Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleReplicationSingleSchedulenow(string id, string node, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleReplicationSingleSchedulenowWithHttpInfo(id, node, body); return localVarResponse.Data; } /// /// createNodesSingleReplicationSingleSchedulenow Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleReplicationSingleSchedulenowWithHttpInfo(string id, string node, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateNodesSingleReplicationSingleSchedulenow"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleReplicationSingleSchedulenow"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleReplicationSingleSchedulenow"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/replication/{id}/schedule_now", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleReplicationSingleSchedulenow", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleReplicationSingleSchedulenow Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleReplicationSingleSchedulenowAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleReplicationSingleSchedulenowWithHttpInfoAsync(id, node, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleReplicationSingleSchedulenow Schedule replication job to start as soon as possible. /// /// Thrown when fails to make API call /// id /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleReplicationSingleSchedulenowWithHttpInfoAsync(string id, string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->CreateNodesSingleReplicationSingleSchedulenow"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleReplicationSingleSchedulenow"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleReplicationSingleSchedulenow"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/replication/{id}/schedule_now", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleReplicationSingleSchedulenow", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleReload Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleServicesSingleReload(string node, string service, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleServicesSingleReloadWithHttpInfo(node, service, body); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleReload Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleServicesSingleReloadWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleReload"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleReload"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleReload"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/services/{service}/reload", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleReload", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleReload Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleServicesSingleReloadAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleServicesSingleReloadWithHttpInfoAsync(node, service, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleReload Reload service. Falls back to restart if service cannot be reloaded. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleServicesSingleReloadWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleReload"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleReload"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleReload"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/services/{service}/reload", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleReload", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleRestart Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleServicesSingleRestart(string node, string service, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleServicesSingleRestartWithHttpInfo(node, service, body); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleRestart Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleServicesSingleRestartWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleRestart"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleRestart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleRestart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/services/{service}/restart", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleRestart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleRestart Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleServicesSingleRestartAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleServicesSingleRestartWithHttpInfoAsync(node, service, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleRestart Hard restart service. Use reload if you want to reduce interruptions. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleServicesSingleRestartWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleRestart"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleRestart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleRestart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/services/{service}/restart", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleRestart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleStart Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleServicesSingleStart(string node, string service, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleServicesSingleStartWithHttpInfo(node, service, body); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleStart Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleServicesSingleStartWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStart"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/services/{service}/start", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleStart Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleServicesSingleStartAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleServicesSingleStartWithHttpInfoAsync(node, service, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleStart Start service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleServicesSingleStartWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStart"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleStart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/services/{service}/start", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleStart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleStop Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleServicesSingleStop(string node, string service, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleServicesSingleStopWithHttpInfo(node, service, body); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleStop Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleServicesSingleStopWithHttpInfo(string node, string service, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStop"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStop"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleStop"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/services/{service}/stop", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleStop", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleServicesSingleStop Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleServicesSingleStopAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleServicesSingleStopWithHttpInfoAsync(node, service, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleServicesSingleStop Stop service. /// /// Thrown when fails to make API call /// node /// service /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleServicesSingleStopWithHttpInfoAsync(string node, string service, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStop"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->CreateNodesSingleServicesSingleStop"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleServicesSingleStop"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/services/{service}/stop", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleServicesSingleStop", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleSpiceshell Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleSpiceproxy200Response public CreateNodesSingleQemuSingleSpiceproxy200Response CreateNodesSingleSpiceshell(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleSpiceshellWithHttpInfo(node, createNodesSingleSpiceshellRequest); return localVarResponse.Data; } /// /// createNodesSingleSpiceshell Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleSpiceproxy200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleSpiceshellWithHttpInfo(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleSpiceshell"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleSpiceshellRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleSpiceshell"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/spiceshell", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleSpiceshell", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleSpiceshell Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleSpiceproxy200Response public async System.Threading.Tasks.Task CreateNodesSingleSpiceshellAsync(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleSpiceshellWithHttpInfoAsync(node, createNodesSingleSpiceshellRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleSpiceshell Creates a SPICE shell. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleSpiceproxy200Response) public async System.Threading.Tasks.Task> CreateNodesSingleSpiceshellWithHttpInfoAsync(string node, CreateNodesSingleSpiceshellRequest? createNodesSingleSpiceshellRequest = default(CreateNodesSingleSpiceshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleSpiceshell"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleSpiceshellRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleSpiceshell"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/spiceshell", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleSpiceshell", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStartall Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStartall(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStartallWithHttpInfo(node, createNodesSingleStartallRequest); return localVarResponse.Data; } /// /// createNodesSingleStartall Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStartallWithHttpInfo(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStartall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleStartallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStartall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/startall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStartall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStartall Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStartallAsync(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStartallWithHttpInfoAsync(node, createNodesSingleStartallRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStartall Start all VMs and containers located on this node (by default only those with onboot=1). /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStartallWithHttpInfoAsync(string node, CreateNodesSingleStartallRequest? createNodesSingleStartallRequest = default(CreateNodesSingleStartallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStartall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleStartallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStartall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/startall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStartall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStatus Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStatus(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStatusWithHttpInfo(node, createNodesSingleStatusRequest); return localVarResponse.Data; } /// /// createNodesSingleStatus Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStatusWithHttpInfo(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleStatusRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStatus Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStatusAsync(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStatusWithHttpInfoAsync(node, createNodesSingleStatusRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStatus Reboot or shutdown a node. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStatusWithHttpInfoAsync(string node, CreateNodesSingleStatusRequest? createNodesSingleStatusRequest = default(CreateNodesSingleStatusRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleStatusRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStopall Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStopall(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStopallWithHttpInfo(node, createNodesSingleStopallRequest); return localVarResponse.Data; } /// /// createNodesSingleStopall Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStopallWithHttpInfo(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStopall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleStopallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStopall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/stopall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStopall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStopall Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStopallAsync(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStopallWithHttpInfoAsync(node, createNodesSingleStopallRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStopall Stop all VMs and Containers. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStopallWithHttpInfoAsync(string node, CreateNodesSingleStopallRequest? createNodesSingleStopallRequest = default(CreateNodesSingleStopallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStopall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleStopallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStopall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/stopall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStopall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleContent Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateNodesSingleStorageSingleContent200Response public CreateNodesSingleStorageSingleContent200Response CreateNodesSingleStorageSingleContent(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStorageSingleContentWithHttpInfo(node, storage, createNodesSingleStorageSingleContentRequest); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleContent Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleStorageSingleContent200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStorageSingleContentWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContent"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleContentRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleContent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/storage/{storage}/content", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleContent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleContent Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleStorageSingleContent200Response public async System.Threading.Tasks.Task CreateNodesSingleStorageSingleContentAsync(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStorageSingleContentWithHttpInfoAsync(node, storage, createNodesSingleStorageSingleContentRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleContent Allocate disk images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleStorageSingleContent200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStorageSingleContentWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleContentRequest? createNodesSingleStorageSingleContentRequest = default(CreateNodesSingleStorageSingleContentRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContent"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleContentRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleContent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/storage/{storage}/content", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleContent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleContentSingle Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStorageSingleContentSingle(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStorageSingleContentSingleWithHttpInfo(node, storage, volume, createNodesSingleStorageSingleContentSingleRequest); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleContentSingle Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleContentSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleContentSingle Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStorageSingleContentSingleWithHttpInfoAsync(node, storage, volume, createNodesSingleStorageSingleContentSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleContentSingle Copy a volume. This is experimental code - do not use. /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, CreateNodesSingleStorageSingleContentSingleRequest? createNodesSingleStorageSingleContentSingleRequest = default(CreateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleContentSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleDownloadurl Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStorageSingleDownloadurl(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStorageSingleDownloadurlWithHttpInfo(node, storage, createNodesSingleStorageSingleDownloadurlRequest); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleDownloadurl Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStorageSingleDownloadurlWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleDownloadurl"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleDownloadurl"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleDownloadurlRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleDownloadurl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/storage/{storage}/download-url", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleDownloadurl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleDownloadurl Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStorageSingleDownloadurlAsync(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStorageSingleDownloadurlWithHttpInfoAsync(node, storage, createNodesSingleStorageSingleDownloadurlRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleDownloadurl Download templates, ISO images, OVAs and VM images by using an URL. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStorageSingleDownloadurlWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleDownloadurlRequest? createNodesSingleStorageSingleDownloadurlRequest = default(CreateNodesSingleStorageSingleDownloadurlRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleDownloadurl"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleDownloadurl"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleDownloadurlRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleDownloadurl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/storage/{storage}/download-url", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleDownloadurl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleOciregistrypull Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStorageSingleOciregistrypull(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStorageSingleOciregistrypullWithHttpInfo(node, storage, createNodesSingleStorageSingleOciregistrypullRequest); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleOciregistrypull Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStorageSingleOciregistrypullWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleOciregistrypull"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleOciregistrypull"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleOciregistrypullRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleOciregistrypull"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/storage/{storage}/oci-registry-pull", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleOciregistrypull", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleOciregistrypull Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStorageSingleOciregistrypullAsync(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStorageSingleOciregistrypullWithHttpInfoAsync(node, storage, createNodesSingleStorageSingleOciregistrypullRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleOciregistrypull Pull an OCI image from a registry. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStorageSingleOciregistrypullWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleOciregistrypullRequest? createNodesSingleStorageSingleOciregistrypullRequest = default(CreateNodesSingleStorageSingleOciregistrypullRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleOciregistrypull"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleOciregistrypull"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleOciregistrypullRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleOciregistrypull"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/storage/{storage}/oci-registry-pull", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleOciregistrypull", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleUpload Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleStorageSingleUpload(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleStorageSingleUploadWithHttpInfo(node, storage, createNodesSingleStorageSingleUploadRequest); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleUpload Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleStorageSingleUploadWithHttpInfo(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleUpload"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleUpload"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleUploadRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleUpload"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/storage/{storage}/upload", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleUpload", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleStorageSingleUpload Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleStorageSingleUploadAsync(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleStorageSingleUploadWithHttpInfoAsync(node, storage, createNodesSingleStorageSingleUploadRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleStorageSingleUpload Upload templates, ISO images, OVAs and VM images. /// /// Thrown when fails to make API call /// node /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleStorageSingleUploadWithHttpInfoAsync(string node, string storage, CreateNodesSingleStorageSingleUploadRequest? createNodesSingleStorageSingleUploadRequest = default(CreateNodesSingleStorageSingleUploadRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleUpload"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->CreateNodesSingleStorageSingleUpload"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = createNodesSingleStorageSingleUploadRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleStorageSingleUpload"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/storage/{storage}/upload", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleStorageSingleUpload", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleSubscription Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleSubscription(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleSubscriptionWithHttpInfo(node, createNodesSingleSubscriptionRequest); return localVarResponse.Data; } /// /// createNodesSingleSubscription Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleSubscriptionWithHttpInfo(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleSubscriptionRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleSubscription Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleSubscriptionAsync(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleSubscriptionWithHttpInfoAsync(node, createNodesSingleSubscriptionRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleSubscription Update subscription info. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleSubscriptionWithHttpInfoAsync(string node, CreateNodesSingleSubscriptionRequest? createNodesSingleSubscriptionRequest = default(CreateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleSubscriptionRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleSuspendall Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleSuspendall(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleSuspendallWithHttpInfo(node, createNodesSingleSuspendallRequest); return localVarResponse.Data; } /// /// createNodesSingleSuspendall Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleSuspendallWithHttpInfo(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleSuspendall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleSuspendallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleSuspendall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/suspendall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleSuspendall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleSuspendall Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleSuspendallAsync(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleSuspendallWithHttpInfoAsync(node, createNodesSingleSuspendallRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleSuspendall Suspend all VMs. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleSuspendallWithHttpInfoAsync(string node, CreateNodesSingleSuspendallRequest? createNodesSingleSuspendallRequest = default(CreateNodesSingleSuspendallRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleSuspendall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleSuspendallRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleSuspendall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/suspendall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleSuspendall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleTermproxy Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleTermproxy(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleTermproxyWithHttpInfo(node, createNodesSingleTermproxyRequest); return localVarResponse.Data; } /// /// createNodesSingleTermproxy Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleTermproxyWithHttpInfo(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleTermproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleTermproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleTermproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/termproxy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleTermproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleTermproxy Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleTermproxyAsync(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleTermproxyWithHttpInfoAsync(node, createNodesSingleTermproxyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleTermproxy Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleTermproxyWithHttpInfoAsync(string node, CreateNodesSingleTermproxyRequest? createNodesSingleTermproxyRequest = default(CreateNodesSingleTermproxyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleTermproxy"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleTermproxyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleTermproxy"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/termproxy", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleTermproxy", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleVncshell Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleVncshell(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleVncshellWithHttpInfo(node, createNodesSingleVncshellRequest); return localVarResponse.Data; } /// /// createNodesSingleVncshell Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleVncshellWithHttpInfo(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleVncshell"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleVncshellRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleVncshell"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/vncshell", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleVncshell", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleVncshell Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleVncshellAsync(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleVncshellWithHttpInfoAsync(node, createNodesSingleVncshellRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleVncshell Creates a VNC Shell proxy. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleVncshellWithHttpInfoAsync(string node, CreateNodesSingleVncshellRequest? createNodesSingleVncshellRequest = default(CreateNodesSingleVncshellRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleVncshell"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleVncshellRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleVncshell"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/vncshell", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleVncshell", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleVzdump Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateNodesSingleVzdump(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleVzdumpWithHttpInfo(node, createNodesSingleVzdumpRequest); return localVarResponse.Data; } /// /// createNodesSingleVzdump Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleVzdumpWithHttpInfo(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleVzdump"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleVzdumpRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleVzdump"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/vzdump", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleVzdump", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleVzdump Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateNodesSingleVzdumpAsync(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleVzdumpWithHttpInfoAsync(node, createNodesSingleVzdumpRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleVzdump Create backup. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateNodesSingleVzdumpWithHttpInfoAsync(string node, CreateNodesSingleVzdumpRequest? createNodesSingleVzdumpRequest = default(CreateNodesSingleVzdumpRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleVzdump"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createNodesSingleVzdumpRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleVzdump"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/vzdump", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleVzdump", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleWakeonlan Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateNodesSingleWakeonlan200Response public CreateNodesSingleWakeonlan200Response CreateNodesSingleWakeonlan(string node, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateNodesSingleWakeonlanWithHttpInfo(node, body); return localVarResponse.Data; } /// /// createNodesSingleWakeonlan Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleWakeonlan200Response public ProxmoxSharp.Client.ApiResponse CreateNodesSingleWakeonlanWithHttpInfo(string node, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleWakeonlan"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleWakeonlan"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/wakeonlan", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleWakeonlan", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createNodesSingleWakeonlan Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleWakeonlan200Response public async System.Threading.Tasks.Task CreateNodesSingleWakeonlanAsync(string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateNodesSingleWakeonlanWithHttpInfoAsync(node, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createNodesSingleWakeonlan Try to wake a node via 'wake on LAN' network packet. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleWakeonlan200Response) public async System.Threading.Tasks.Task> CreateNodesSingleWakeonlanWithHttpInfoAsync(string node, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateNodesSingleWakeonlan"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateNodesSingleWakeonlan"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/wakeonlan", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateNodesSingleWakeonlan", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createPool Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreatePool(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreatePoolWithHttpInfo(createPoolRequest); return localVarResponse.Data; } /// /// createPool Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreatePoolWithHttpInfo(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createPoolRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreatePool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/pools", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreatePool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createPool Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreatePoolAsync(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreatePoolWithHttpInfoAsync(createPoolRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createPool Create new pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreatePoolWithHttpInfoAsync(CreatePoolRequest? createPoolRequest = default(CreatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createPoolRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreatePool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/pools", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreatePool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createStorage Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateStorage200Response public CreateStorage200Response CreateStorage(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateStorageWithHttpInfo(createStorageRequest); return localVarResponse.Data; } /// /// createStorage Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateStorage200Response public ProxmoxSharp.Client.ApiResponse CreateStorageWithHttpInfo(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createStorageRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateStorage"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/storage", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateStorage", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createStorage Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateStorage200Response public async System.Threading.Tasks.Task CreateStorageAsync(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateStorageWithHttpInfoAsync(createStorageRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createStorage Create a new storage. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateStorage200Response) public async System.Threading.Tasks.Task> CreateStorageWithHttpInfoAsync(CreateStorageRequest? createStorageRequest = default(CreateStorageRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = createStorageRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateStorage"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/storage", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateStorage", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVM Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateVM(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateVMWithHttpInfo(node, createVMRequest); return localVarResponse.Data; } /// /// createVM Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateVMWithHttpInfo(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVM Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateVMAsync(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateVMWithHttpInfoAsync(node, createVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createVM Create or restore a virtual machine. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateVMWithHttpInfoAsync(string node, CreateVMRequest? createVMRequest = default(CreateVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = createVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVMFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateVMFirewallIPSet(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateVMFirewallIPSetWithHttpInfo(node, vmid, createVMFirewallIPSetRequest); return localVarResponse.Data; } /// /// createVMFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateVMFirewallIPSetWithHttpInfo(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVMFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createVMFirewallIPSetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVMFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVMFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVMFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateVMFirewallIPSetAsync(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateVMFirewallIPSetWithHttpInfoAsync(node, vmid, createVMFirewallIPSetRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createVMFirewallIPSet Create new IPSet /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateVMFirewallIPSetWithHttpInfoAsync(string node, int vmid, CreateVMFirewallIPSetRequest? createVMFirewallIPSetRequest = default(CreateVMFirewallIPSetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVMFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createVMFirewallIPSetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVMFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVMFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVMFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response CreateVMFirewallRule(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateVMFirewallRuleWithHttpInfo(node, vmid, createVMFirewallRuleRequest); return localVarResponse.Data; } /// /// createVMFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse CreateVMFirewallRuleWithHttpInfo(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createVMFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVMFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task CreateVMFirewallRuleAsync(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateVMFirewallRuleWithHttpInfoAsync(node, vmid, createVMFirewallRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createVMFirewallRule Create new rule. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> CreateVMFirewallRuleWithHttpInfoAsync(string node, int vmid, CreateVMFirewallRuleRequest? createVMFirewallRuleRequest = default(CreateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createVMFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVMSnapshot Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response CreateVMSnapshot(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = CreateVMSnapshotWithHttpInfo(node, vmid, createVMSnapshotRequest); return localVarResponse.Data; } /// /// createVMSnapshot Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse CreateVMSnapshotWithHttpInfo(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createVMSnapshotRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/snapshot", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// createVMSnapshot Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task CreateVMSnapshotAsync(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await CreateVMSnapshotWithHttpInfoAsync(node, vmid, createVMSnapshotRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// createVMSnapshot Snapshot a VM. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> CreateVMSnapshotWithHttpInfoAsync(string node, int vmid, CreateVMSnapshotRequest? createVMSnapshotRequest = default(CreateVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->CreateVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = createVMSnapshotRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.CreateVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/snapshot", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("CreateVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessDomainsSingle Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteAccessDomainsSingle(string realm, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteAccessDomainsSingleWithHttpInfo(realm); return localVarResponse.Data; } /// /// deleteAccessDomainsSingle Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteAccessDomainsSingleWithHttpInfo(string realm, int operationIndex = 0) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->DeleteAccessDomainsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessDomainsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/access/domains/{realm}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessDomainsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessDomainsSingle Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteAccessDomainsSingleAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteAccessDomainsSingleWithHttpInfoAsync(realm, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteAccessDomainsSingle Delete an authentication server. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteAccessDomainsSingleWithHttpInfoAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->DeleteAccessDomainsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessDomainsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/access/domains/{realm}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessDomainsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessGroupsSingle Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteAccessGroupsSingle(string groupid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteAccessGroupsSingleWithHttpInfo(groupid); return localVarResponse.Data; } /// /// deleteAccessGroupsSingle Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteAccessGroupsSingleWithHttpInfo(string groupid, int operationIndex = 0) { // verify the required parameter 'groupid' is set if (groupid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'groupid' when calling ProxmoxGeneratedApi->DeleteAccessGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("groupid", ProxmoxSharp.Client.ClientUtils.ParameterToString(groupid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/access/groups/{groupid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessGroupsSingle Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteAccessGroupsSingleAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteAccessGroupsSingleWithHttpInfoAsync(groupid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteAccessGroupsSingle Delete group. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteAccessGroupsSingleWithHttpInfoAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'groupid' is set if (groupid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'groupid' when calling ProxmoxGeneratedApi->DeleteAccessGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("groupid", ProxmoxSharp.Client.ClientUtils.ParameterToString(groupid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/access/groups/{groupid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessRolesSingle Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteAccessRolesSingle(string roleid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteAccessRolesSingleWithHttpInfo(roleid); return localVarResponse.Data; } /// /// deleteAccessRolesSingle Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteAccessRolesSingleWithHttpInfo(string roleid, int operationIndex = 0) { // verify the required parameter 'roleid' is set if (roleid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'roleid' when calling ProxmoxGeneratedApi->DeleteAccessRolesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("roleid", ProxmoxSharp.Client.ClientUtils.ParameterToString(roleid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessRolesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/access/roles/{roleid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessRolesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessRolesSingle Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteAccessRolesSingleAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteAccessRolesSingleWithHttpInfoAsync(roleid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteAccessRolesSingle Delete role. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteAccessRolesSingleWithHttpInfoAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'roleid' is set if (roleid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'roleid' when calling ProxmoxGeneratedApi->DeleteAccessRolesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("roleid", ProxmoxSharp.Client.ClientUtils.ParameterToString(roleid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessRolesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/access/roles/{roleid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessRolesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessTfaSingleSingle Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteAccessTfaSingleSingle(string id, string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteAccessTfaSingleSingleWithHttpInfo(id, userid); return localVarResponse.Data; } /// /// deleteAccessTfaSingleSingle Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteAccessTfaSingleSingleWithHttpInfo(string id, string userid, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteAccessTfaSingleSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->DeleteAccessTfaSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessTfaSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/access/tfa/{userid}/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessTfaSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessTfaSingleSingle Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteAccessTfaSingleSingleAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteAccessTfaSingleSingleWithHttpInfoAsync(id, userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteAccessTfaSingleSingle Delete a TFA entry by ID. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteAccessTfaSingleSingleWithHttpInfoAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteAccessTfaSingleSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->DeleteAccessTfaSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessTfaSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/access/tfa/{userid}/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessTfaSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessUsersSingle Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteAccessUsersSingle(string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteAccessUsersSingleWithHttpInfo(userid); return localVarResponse.Data; } /// /// deleteAccessUsersSingle Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteAccessUsersSingleWithHttpInfo(string userid, int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->DeleteAccessUsersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessUsersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/access/users/{userid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessUsersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessUsersSingle Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteAccessUsersSingleAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteAccessUsersSingleWithHttpInfoAsync(userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteAccessUsersSingle Delete user. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteAccessUsersSingleWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->DeleteAccessUsersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessUsersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/access/users/{userid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessUsersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessUsersSingleTokenSingle Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteAccessUsersSingleTokenSingle(string tokenid, string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteAccessUsersSingleTokenSingleWithHttpInfo(tokenid, userid); return localVarResponse.Data; } /// /// deleteAccessUsersSingleTokenSingle Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, int operationIndex = 0) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->DeleteAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->DeleteAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteAccessUsersSingleTokenSingle Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteAccessUsersSingleTokenSingleAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteAccessUsersSingleTokenSingleWithHttpInfoAsync(tokenid, userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteAccessUsersSingleTokenSingle Remove API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->DeleteAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->DeleteAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterAcmeAccountSingle Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterAcmeAccountSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterAcmeAccountSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterAcmeAccountSingle Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterAcmeAccountSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterAcmeAccountSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterAcmeAccountSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/acme/account/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterAcmeAccountSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterAcmeAccountSingle Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterAcmeAccountSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterAcmeAccountSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterAcmeAccountSingle Deactivate existing ACME account at CA. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterAcmeAccountSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterAcmeAccountSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterAcmeAccountSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/acme/account/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterAcmeAccountSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterAcmePluginsSingle Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterAcmePluginsSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterAcmePluginsSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterAcmePluginsSingle Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterAcmePluginsSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterAcmePluginsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterAcmePluginsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/acme/plugins/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterAcmePluginsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterAcmePluginsSingle Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterAcmePluginsSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterAcmePluginsSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterAcmePluginsSingle Delete ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterAcmePluginsSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterAcmePluginsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterAcmePluginsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/acme/plugins/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterAcmePluginsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterBackupSingle Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterBackupSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterBackupSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterBackupSingle Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterBackupSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterBackupSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterBackupSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/backup/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterBackupSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterBackupSingle Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterBackupSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterBackupSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterBackupSingle Delete vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterBackupSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterBackupSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterBackupSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/backup/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterBackupSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterConfigNodesSingle Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterConfigNodesSingle(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterConfigNodesSingleWithHttpInfo(node); return localVarResponse.Data; } /// /// deleteClusterConfigNodesSingle Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterConfigNodesSingleWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteClusterConfigNodesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterConfigNodesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/config/nodes/{node}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterConfigNodesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterConfigNodesSingle Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterConfigNodesSingleAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterConfigNodesSingleWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterConfigNodesSingle Removes a node from the cluster configuration. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterConfigNodesSingleWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteClusterConfigNodesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterConfigNodesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/config/nodes/{node}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterConfigNodesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterFirewallAliasesSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterFirewallAliasesSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterFirewallAliasesSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterFirewallAliasesSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterFirewallAliasesSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterFirewallAliasesSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterFirewallGroup Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterFirewallGroup(string group, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterFirewallGroupWithHttpInfo(group); return localVarResponse.Data; } /// /// deleteClusterFirewallGroup Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterFirewallGroupWithHttpInfo(string group, int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->DeleteClusterFirewallGroup"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterFirewallGroup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/firewall/groups/{group}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterFirewallGroup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterFirewallGroup Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterFirewallGroupAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterFirewallGroupWithHttpInfoAsync(group, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterFirewallGroup Delete security group. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterFirewallGroupWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->DeleteClusterFirewallGroup"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterFirewallGroup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/firewall/groups/{group}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterFirewallGroup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterFirewallIPSet(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterFirewallIPSetWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterFirewallIPSetWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterFirewallIPSetAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterFirewallIPSetWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterFirewallIPSetWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterHaGroupsSingle Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterHaGroupsSingle(string group, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterHaGroupsSingleWithHttpInfo(group); return localVarResponse.Data; } /// /// deleteClusterHaGroupsSingle Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterHaGroupsSingleWithHttpInfo(string group, int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->DeleteClusterHaGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterHaGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/ha/groups/{group}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterHaGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterHaGroupsSingle Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterHaGroupsSingleAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterHaGroupsSingleWithHttpInfoAsync(group, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterHaGroupsSingle Delete ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterHaGroupsSingleWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->DeleteClusterHaGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterHaGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/ha/groups/{group}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterHaGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterHaResourcesSingle Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterHaResourcesSingle(string sid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterHaResourcesSingleWithHttpInfo(sid); return localVarResponse.Data; } /// /// deleteClusterHaResourcesSingle Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterHaResourcesSingleWithHttpInfo(string sid, int operationIndex = 0) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->DeleteClusterHaResourcesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterHaResourcesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/ha/resources/{sid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterHaResourcesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterHaResourcesSingle Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterHaResourcesSingleAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterHaResourcesSingleWithHttpInfoAsync(sid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterHaResourcesSingle Delete resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterHaResourcesSingleWithHttpInfoAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->DeleteClusterHaResourcesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterHaResourcesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/ha/resources/{sid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterHaResourcesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterHaRulesSingle Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterHaRulesSingle(string rule, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterHaRulesSingleWithHttpInfo(rule); return localVarResponse.Data; } /// /// deleteClusterHaRulesSingle Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterHaRulesSingleWithHttpInfo(string rule, int operationIndex = 0) { // verify the required parameter 'rule' is set if (rule == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'rule' when calling ProxmoxGeneratedApi->DeleteClusterHaRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("rule", ProxmoxSharp.Client.ClientUtils.ParameterToString(rule)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterHaRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/ha/rules/{rule}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterHaRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterHaRulesSingle Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterHaRulesSingleAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterHaRulesSingleWithHttpInfoAsync(rule, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterHaRulesSingle Delete HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterHaRulesSingleWithHttpInfoAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'rule' is set if (rule == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'rule' when calling ProxmoxGeneratedApi->DeleteClusterHaRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("rule", ProxmoxSharp.Client.ClientUtils.ParameterToString(rule)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterHaRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/ha/rules/{rule}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterHaRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterJobsRealmsyncSingle Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterJobsRealmsyncSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterJobsRealmsyncSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterJobsRealmsyncSingle Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterJobsRealmsyncSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterJobsRealmsyncSingle Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterJobsRealmsyncSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterJobsRealmsyncSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterJobsRealmsyncSingle Delete realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMappingDirSingle Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterMappingDirSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterMappingDirSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterMappingDirSingle Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterMappingDirSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMappingDirSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMappingDirSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/mapping/dir/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMappingDirSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMappingDirSingle Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterMappingDirSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterMappingDirSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterMappingDirSingle Remove directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterMappingDirSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMappingDirSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMappingDirSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/mapping/dir/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMappingDirSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMappingPciSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterMappingPciSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterMappingPciSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterMappingPciSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterMappingPciSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMappingPciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMappingPciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/mapping/pci/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMappingPciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMappingPciSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterMappingPciSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterMappingPciSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterMappingPciSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterMappingPciSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMappingPciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMappingPciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/mapping/pci/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMappingPciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMappingUsbSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterMappingUsbSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterMappingUsbSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterMappingUsbSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterMappingUsbSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMappingUsbSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMappingUsbSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/mapping/usb/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMappingUsbSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMappingUsbSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterMappingUsbSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterMappingUsbSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterMappingUsbSingle Remove Hardware Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterMappingUsbSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMappingUsbSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMappingUsbSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/mapping/usb/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMappingUsbSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMetricsServerSingle Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterMetricsServerSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterMetricsServerSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterMetricsServerSingle Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterMetricsServerSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterMetricsServerSingle Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterMetricsServerSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterMetricsServerSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterMetricsServerSingle Remove Metric server. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterMetricsServerSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsGotifySingle Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterNotificationsEndpointsGotifySingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterNotificationsEndpointsGotifySingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsGotifySingle Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterNotificationsEndpointsGotifySingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsGotifySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsGotifySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/notifications/endpoints/gotify/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsGotifySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsGotifySingle Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsGotifySingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsGotifySingle Remove gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsGotifySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsGotifySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/notifications/endpoints/gotify/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsGotifySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsSendmailSingle Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterNotificationsEndpointsSendmailSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterNotificationsEndpointsSendmailSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsSendmailSingle Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterNotificationsEndpointsSendmailSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsSendmailSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsSendmailSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/notifications/endpoints/sendmail/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsSendmailSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsSendmailSingle Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsSendmailSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsSendmailSingle Remove sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsSendmailSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsSendmailSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/notifications/endpoints/sendmail/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsSendmailSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsSmtpSingle Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterNotificationsEndpointsSmtpSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterNotificationsEndpointsSmtpSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsSmtpSingle Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterNotificationsEndpointsSmtpSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsSmtpSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsSmtpSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/notifications/endpoints/smtp/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsSmtpSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsSmtpSingle Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsSmtpSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsSmtpSingle Remove smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsSmtpSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsSmtpSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/notifications/endpoints/smtp/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsSmtpSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsWebhookSingle Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterNotificationsEndpointsWebhookSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterNotificationsEndpointsWebhookSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsWebhookSingle Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterNotificationsEndpointsWebhookSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsWebhookSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsWebhookSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/notifications/endpoints/webhook/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsWebhookSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsEndpointsWebhookSingle Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterNotificationsEndpointsWebhookSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterNotificationsEndpointsWebhookSingle Remove webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsEndpointsWebhookSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsEndpointsWebhookSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/notifications/endpoints/webhook/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsEndpointsWebhookSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsMatchersSingle Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterNotificationsMatchersSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterNotificationsMatchersSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// deleteClusterNotificationsMatchersSingle Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterNotificationsMatchersSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsMatchersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsMatchersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/notifications/matchers/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsMatchersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterNotificationsMatchersSingle Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterNotificationsMatchersSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterNotificationsMatchersSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterNotificationsMatchersSingle Remove matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterNotificationsMatchersSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteClusterNotificationsMatchersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterNotificationsMatchersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/notifications/matchers/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterNotificationsMatchersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterReplicationSingle Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterReplicationSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterReplicationSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterReplicationSingle Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterReplicationSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/replication/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterReplicationSingle Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterReplicationSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterReplicationSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterReplicationSingle Mark replication job for removal. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterReplicationSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/replication/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSDNController Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSDNController(string controller, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSDNControllerWithHttpInfo(controller); return localVarResponse.Data; } /// /// deleteClusterSDNController Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSDNControllerWithHttpInfo(string controller, int operationIndex = 0) { // verify the required parameter 'controller' is set if (controller == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'controller' when calling ProxmoxGeneratedApi->DeleteClusterSDNController"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("controller", ProxmoxSharp.Client.ClientUtils.ParameterToString(controller)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/controllers/{controller}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSDNController Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSDNControllerAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSDNControllerWithHttpInfoAsync(controller, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSDNController Delete sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSDNControllerWithHttpInfoAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'controller' is set if (controller == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'controller' when calling ProxmoxGeneratedApi->DeleteClusterSDNController"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("controller", ProxmoxSharp.Client.ClientUtils.ParameterToString(controller)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/controllers/{controller}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSDNVnet Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSDNVnet(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSDNVnetWithHttpInfo(vnet); return localVarResponse.Data; } /// /// deleteClusterSDNVnet Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSDNVnetWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSDNVnet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSDNVnet Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSDNVnetAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSDNVnetWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSDNVnet Delete sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSDNVnetWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSDNVnet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSDNZone Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSDNZone(string zone, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSDNZoneWithHttpInfo(zone); return localVarResponse.Data; } /// /// deleteClusterSDNZone Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSDNZoneWithHttpInfo(string zone, int operationIndex = 0) { // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->DeleteClusterSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/zones/{zone}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSDNZone Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSDNZoneAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSDNZoneWithHttpInfoAsync(zone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSDNZone Delete sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSDNZoneWithHttpInfoAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->DeleteClusterSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/zones/{zone}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnDnsSingle Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnDnsSingle(string dns, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnDnsSingleWithHttpInfo(dns); return localVarResponse.Data; } /// /// deleteClusterSdnDnsSingle Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnDnsSingleWithHttpInfo(string dns, int operationIndex = 0) { // verify the required parameter 'dns' is set if (dns == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'dns' when calling ProxmoxGeneratedApi->DeleteClusterSdnDnsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("dns", ProxmoxSharp.Client.ClientUtils.ParameterToString(dns)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnDnsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/dns/{dns}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnDnsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnDnsSingle Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnDnsSingleAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnDnsSingleWithHttpInfoAsync(dns, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnDnsSingle Delete sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnDnsSingleWithHttpInfoAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'dns' is set if (dns == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'dns' when calling ProxmoxGeneratedApi->DeleteClusterSdnDnsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("dns", ProxmoxSharp.Client.ClientUtils.ParameterToString(dns)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnDnsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/dns/{dns}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnDnsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnFabricsFabricSingle Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnFabricsFabricSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnFabricsFabricSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// deleteClusterSdnFabricsFabricSingle Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnFabricsFabricSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterSdnFabricsFabricSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnFabricsFabricSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/fabrics/fabric/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnFabricsFabricSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnFabricsFabricSingle Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnFabricsFabricSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnFabricsFabricSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnFabricsFabricSingle Add a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnFabricsFabricSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteClusterSdnFabricsFabricSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnFabricsFabricSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/fabrics/fabric/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnFabricsFabricSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnFabricsNodeSingleSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnFabricsNodeSingleSingle(string fabricId, string nodeId, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnFabricsNodeSingleSingleWithHttpInfo(fabricId, nodeId); return localVarResponse.Data; } /// /// deleteClusterSdnFabricsNodeSingleSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnFabricsNodeSingleSingleWithHttpInfo(string fabricId, string nodeId, int operationIndex = 0) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->DeleteClusterSdnFabricsNodeSingleSingle"); } // verify the required parameter 'nodeId' is set if (nodeId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'nodeId' when calling ProxmoxGeneratedApi->DeleteClusterSdnFabricsNodeSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.PathParameters.Add("node_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(nodeId)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnFabricsNodeSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/fabrics/node/{fabric_id}/{node_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnFabricsNodeSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnFabricsNodeSingleSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnFabricsNodeSingleSingleAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(fabricId, nodeId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnFabricsNodeSingleSingle Add a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->DeleteClusterSdnFabricsNodeSingleSingle"); } // verify the required parameter 'nodeId' is set if (nodeId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'nodeId' when calling ProxmoxGeneratedApi->DeleteClusterSdnFabricsNodeSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.PathParameters.Add("node_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(nodeId)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnFabricsNodeSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/fabrics/node/{fabric_id}/{node_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnFabricsNodeSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnIpamsSingle Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnIpamsSingle(string ipam, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnIpamsSingleWithHttpInfo(ipam); return localVarResponse.Data; } /// /// deleteClusterSdnIpamsSingle Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnIpamsSingleWithHttpInfo(string ipam, int operationIndex = 0) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->DeleteClusterSdnIpamsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnIpamsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/ipams/{ipam}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnIpamsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnIpamsSingle Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnIpamsSingleAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnIpamsSingleWithHttpInfoAsync(ipam, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnIpamsSingle Delete sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnIpamsSingleWithHttpInfoAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->DeleteClusterSdnIpamsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnIpamsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/ipams/{ipam}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnIpamsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnLock Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnLock(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnLockWithHttpInfo(); return localVarResponse.Data; } /// /// deleteClusterSdnLock Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnLockWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnLock"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/lock", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnLock", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnLock Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnLockAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnLockWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnLock Release global lock for SDN configuration /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnLockWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnLock"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/lock", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnLock", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnVnetsSingleFirewallRulesSingle(int pos, string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(pos, vnet); return localVarResponse.Data; } /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(int pos, string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnVnetsSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/vnets/{vnet}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnVnetsSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnVnetsSingleFirewallRulesSingleAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(pos, vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnVnetsSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnVnetsSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/vnets/{vnet}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnVnetsSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnVnetsSingleIps Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnVnetsSingleIps(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnVnetsSingleIpsWithHttpInfo(vnet); return localVarResponse.Data; } /// /// deleteClusterSdnVnetsSingleIps Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnVnetsSingleIpsWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleIps"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnVnetsSingleIps"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/vnets/{vnet}/ips", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnVnetsSingleIps", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnVnetsSingleIps Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnVnetsSingleIpsAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnVnetsSingleIpsWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnVnetsSingleIps Delete IP Mappings in a VNet /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnVnetsSingleIpsWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleIps"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnVnetsSingleIps"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/vnets/{vnet}/ips", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnVnetsSingleIps", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnVnetsSingleSubnetsSingle Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteClusterSdnVnetsSingleSubnetsSingle(string subnet, string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(subnet, vnet); return localVarResponse.Data; } /// /// deleteClusterSdnVnetsSingleSubnetsSingle Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(string subnet, string vnet, int operationIndex = 0) { // verify the required parameter 'subnet' is set if (subnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'subnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleSubnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleSubnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("subnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(subnet)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnVnetsSingleSubnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/sdn/vnets/{vnet}/subnets/{subnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnVnetsSingleSubnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteClusterSdnVnetsSingleSubnetsSingle Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteClusterSdnVnetsSingleSubnetsSingleAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(subnet, vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteClusterSdnVnetsSingleSubnetsSingle Delete sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'subnet' is set if (subnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'subnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleSubnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->DeleteClusterSdnVnetsSingleSubnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("subnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(subnet)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteClusterSdnVnetsSingleSubnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/sdn/vnets/{vnet}/subnets/{subnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteClusterSdnVnetsSingleSubnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodeFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodeFirewallRule(string node, int pos, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodeFirewallRuleWithHttpInfo(node, pos); return localVarResponse.Data; } /// /// deleteNodeFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodeFirewallRuleWithHttpInfo(string node, int pos, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodeFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodeFirewallRuleAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodeFirewallRuleWithHttpInfoAsync(node, pos, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodeFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodeFirewallRuleWithHttpInfoAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephMdsSingle Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCephMdsSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCephMdsSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// deleteNodesSingleCephMdsSingle Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCephMdsSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMdsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMdsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephMdsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/ceph/mds/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephMdsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephMdsSingle Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCephMdsSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCephMdsSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCephMdsSingle Destroy Ceph Metadata Server /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCephMdsSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMdsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMdsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephMdsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/ceph/mds/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephMdsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephMgrSingle Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCephMgrSingle(string id, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCephMgrSingleWithHttpInfo(id, node); return localVarResponse.Data; } /// /// deleteNodesSingleCephMgrSingle Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCephMgrSingleWithHttpInfo(string id, string node, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMgrSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMgrSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephMgrSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/ceph/mgr/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephMgrSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephMgrSingle Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCephMgrSingleAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCephMgrSingleWithHttpInfoAsync(id, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCephMgrSingle Destroy Ceph Manager. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCephMgrSingleWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMgrSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMgrSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephMgrSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/ceph/mgr/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephMgrSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephMonSingle Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCephMonSingle(string monid, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCephMonSingleWithHttpInfo(monid, node); return localVarResponse.Data; } /// /// deleteNodesSingleCephMonSingle Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCephMonSingleWithHttpInfo(string monid, string node, int operationIndex = 0) { // verify the required parameter 'monid' is set if (monid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'monid' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMonSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMonSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("monid", ProxmoxSharp.Client.ClientUtils.ParameterToString(monid)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephMonSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/ceph/mon/{monid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephMonSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephMonSingle Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCephMonSingleAsync(string monid, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCephMonSingleWithHttpInfoAsync(monid, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCephMonSingle Destroy Ceph Monitor and Manager. /// /// Thrown when fails to make API call /// monid /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCephMonSingleWithHttpInfoAsync(string monid, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'monid' is set if (monid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'monid' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMonSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephMonSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("monid", ProxmoxSharp.Client.ClientUtils.ParameterToString(monid)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephMonSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/ceph/mon/{monid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephMonSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephOsdSingle Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCephOsdSingle(string node, int osdid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCephOsdSingleWithHttpInfo(node, osdid); return localVarResponse.Data; } /// /// deleteNodesSingleCephOsdSingle Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCephOsdSingleWithHttpInfo(string node, int osdid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephOsdSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephOsdSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/ceph/osd/{osdid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephOsdSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephOsdSingle Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCephOsdSingleAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCephOsdSingleWithHttpInfoAsync(node, osdid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCephOsdSingle Destroy OSD /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCephOsdSingleWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephOsdSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephOsdSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/ceph/osd/{osdid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephOsdSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephPoolSingle Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCephPoolSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCephPoolSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// deleteNodesSingleCephPoolSingle Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCephPoolSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephPoolSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephPoolSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephPoolSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/ceph/pool/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephPoolSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCephPoolSingle Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCephPoolSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCephPoolSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCephPoolSingle Destroy pool /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCephPoolSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephPoolSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCephPoolSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCephPoolSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/ceph/pool/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCephPoolSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCertificatesAcmeCertificate Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCertificatesAcmeCertificate(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCertificatesAcmeCertificateWithHttpInfo(node); return localVarResponse.Data; } /// /// deleteNodesSingleCertificatesAcmeCertificate Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCertificatesAcmeCertificateWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCertificatesAcmeCertificate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCertificatesAcmeCertificate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/certificates/acme/certificate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCertificatesAcmeCertificate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCertificatesAcmeCertificate Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCertificatesAcmeCertificateAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCertificatesAcmeCertificate Revoke existing certificate from CA. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCertificatesAcmeCertificate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCertificatesAcmeCertificate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/certificates/acme/certificate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCertificatesAcmeCertificate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCertificatesCustom DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleCertificatesCustom(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleCertificatesCustomWithHttpInfo(node); return localVarResponse.Data; } /// /// deleteNodesSingleCertificatesCustom DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleCertificatesCustomWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCertificatesCustom"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCertificatesCustom"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/certificates/custom", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCertificatesCustom", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleCertificatesCustom DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleCertificatesCustomAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleCertificatesCustomWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleCertificatesCustom DELETE custom certificate chain and key. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleCertificatesCustomWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleCertificatesCustom"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleCertificatesCustom"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/certificates/custom", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleCertificatesCustom", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksDirectorySingle Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleDisksDirectorySingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleDisksDirectorySingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// deleteNodesSingleDisksDirectorySingle Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleDisksDirectorySingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksDirectorySingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksDirectorySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksDirectorySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/disks/directory/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksDirectorySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksDirectorySingle Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleDisksDirectorySingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleDisksDirectorySingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleDisksDirectorySingle Unmounts the storage and removes the mount unit. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleDisksDirectorySingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksDirectorySingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksDirectorySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksDirectorySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/disks/directory/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksDirectorySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksLvmSingle Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleDisksLvmSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleDisksLvmSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// deleteNodesSingleDisksLvmSingle Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleDisksLvmSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksLvmSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/disks/lvm/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksLvmSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksLvmSingle Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleDisksLvmSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleDisksLvmSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleDisksLvmSingle Remove an LVM Volume Group. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleDisksLvmSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksLvmSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/disks/lvm/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksLvmSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksLvmthinSingle Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleDisksLvmthinSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleDisksLvmthinSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// deleteNodesSingleDisksLvmthinSingle Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleDisksLvmthinSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmthinSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmthinSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksLvmthinSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/disks/lvmthin/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksLvmthinSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksLvmthinSingle Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleDisksLvmthinSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleDisksLvmthinSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleDisksLvmthinSingle Remove an LVM thin pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleDisksLvmthinSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmthinSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksLvmthinSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksLvmthinSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/disks/lvmthin/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksLvmthinSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksZfsSingle Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleDisksZfsSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleDisksZfsSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// deleteNodesSingleDisksZfsSingle Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleDisksZfsSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksZfsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksZfsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksZfsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/disks/zfs/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksZfsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleDisksZfsSingle Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleDisksZfsSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleDisksZfsSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleDisksZfsSingle Destroy a ZFS pool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleDisksZfsSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksZfsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleDisksZfsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleDisksZfsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/disks/zfs/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleDisksZfsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingle Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleLxcSingle(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleLxcSingleWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingle Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleLxcSingleWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/lxc/{vmid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingle Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleLxcSingleAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleLxcSingleWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingle Destroy the container (also delete all uses files). /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/lxc/{vmid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallIpsetSingle(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallIpsetSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallIpsetSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallIpsetSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingle Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallIpsetSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallIpsetSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle(string cidr, string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(cidr, name, node, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(cidr, name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallIpsetSingleSingle Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallIpsetSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleLxcSingleFirewallRulesSingle(string node, int pos, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(node, pos, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleLxcSingleFirewallRulesSingleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(node, pos, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleFirewallRulesSingle Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleSnapshotSingle Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response DeleteNodesSingleLxcSingleSnapshotSingle(string node, string snapname, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleLxcSingleSnapshotSingleWithHttpInfo(node, snapname, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleSnapshotSingle Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleLxcSingleSnapshotSingleWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleSnapshotSingle"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleSnapshotSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleSnapshotSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleSnapshotSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleLxcSingleSnapshotSingle Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task DeleteNodesSingleLxcSingleSnapshotSingleAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleLxcSingleSnapshotSingleWithHttpInfoAsync(node, snapname, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleLxcSingleSnapshotSingle Delete a LXC snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleLxcSingleSnapshotSingleWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleSnapshotSingle"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->DeleteNodesSingleLxcSingleSnapshotSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleLxcSingleSnapshotSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleLxcSingleSnapshotSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleNetwork Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleNetwork(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleNetworkWithHttpInfo(node); return localVarResponse.Data; } /// /// deleteNodesSingleNetwork Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleNetworkWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/network", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleNetwork Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleNetworkAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleNetworkWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleNetwork Revert network configuration changes. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleNetworkWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/network", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleNetworkSingle Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleNetworkSingle(string iface, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleNetworkSingleWithHttpInfo(iface, node); return localVarResponse.Data; } /// /// deleteNodesSingleNetworkSingle Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleNetworkSingleWithHttpInfo(string iface, string node, int operationIndex = 0) { // verify the required parameter 'iface' is set if (iface == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'iface' when calling ProxmoxGeneratedApi->DeleteNodesSingleNetworkSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleNetworkSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("iface", ProxmoxSharp.Client.ClientUtils.ParameterToString(iface)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleNetworkSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/network/{iface}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleNetworkSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleNetworkSingle Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleNetworkSingleAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleNetworkSingleWithHttpInfoAsync(iface, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleNetworkSingle Delete network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleNetworkSingleWithHttpInfoAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'iface' is set if (iface == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'iface' when calling ProxmoxGeneratedApi->DeleteNodesSingleNetworkSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleNetworkSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("iface", ProxmoxSharp.Client.ClientUtils.ParameterToString(iface)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleNetworkSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/network/{iface}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleNetworkSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleQemuSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleQemuSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleQemuSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleQemuSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleQemuSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleQemuSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleQemuSingleFirewallAliasesSingle Remove IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteNodesSingleQemuSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleQemuSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleQemuSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleQemuSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleStorageSingleContentSingle Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleStorageSingleContentSingle(string node, string storage, string volume, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleStorageSingleContentSingleWithHttpInfo(node, storage, volume); return localVarResponse.Data; } /// /// deleteNodesSingleStorageSingleContentSingle Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleStorageSingleContentSingle Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleStorageSingleContentSingleWithHttpInfoAsync(node, storage, volume, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleStorageSingleContentSingle Delete volume /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleStorageSinglePrunebackups Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleStorageSinglePrunebackups(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleStorageSinglePrunebackupsWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// deleteNodesSingleStorageSinglePrunebackups Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleStorageSinglePrunebackupsWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSinglePrunebackups"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSinglePrunebackups"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleStorageSinglePrunebackups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/storage/{storage}/prunebackups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleStorageSinglePrunebackups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleStorageSinglePrunebackups Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleStorageSinglePrunebackupsAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleStorageSinglePrunebackupsWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleStorageSinglePrunebackups Prune backups. Only those using the standard naming scheme are considered. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleStorageSinglePrunebackupsWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSinglePrunebackups"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->DeleteNodesSingleStorageSinglePrunebackups"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleStorageSinglePrunebackups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/storage/{storage}/prunebackups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleStorageSinglePrunebackups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleSubscription Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteNodesSingleSubscription(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteNodesSingleSubscriptionWithHttpInfo(node); return localVarResponse.Data; } /// /// deleteNodesSingleSubscription Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteNodesSingleSubscriptionWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteNodesSingleSubscription Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteNodesSingleSubscriptionAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteNodesSingleSubscriptionWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteNodesSingleSubscription Delete subscription key of this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteNodesSingleSubscriptionWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deletePool Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeletePool(string poolid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeletePoolWithHttpInfo(poolid); return localVarResponse.Data; } /// /// deletePool Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeletePoolWithHttpInfo(string poolid, int operationIndex = 0) { // verify the required parameter 'poolid' is set if (poolid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'poolid' when calling ProxmoxGeneratedApi->DeletePool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("poolid", ProxmoxSharp.Client.ClientUtils.ParameterToString(poolid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeletePool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/pools/{poolid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeletePool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deletePool Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeletePoolAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeletePoolWithHttpInfoAsync(poolid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deletePool Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeletePoolWithHttpInfoAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'poolid' is set if (poolid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'poolid' when calling ProxmoxGeneratedApi->DeletePool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("poolid", ProxmoxSharp.Client.ClientUtils.ParameterToString(poolid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeletePool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/pools/{poolid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeletePool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deletePools Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeletePools(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeletePoolsWithHttpInfo(); return localVarResponse.Data; } /// /// deletePools Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeletePoolsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeletePools"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/pools", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeletePools", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deletePools Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeletePoolsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeletePoolsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deletePools Delete pool. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeletePoolsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeletePools"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/pools", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeletePools", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteStorageSingle Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteStorageSingle(string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteStorageSingleWithHttpInfo(storage); return localVarResponse.Data; } /// /// deleteStorageSingle Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteStorageSingleWithHttpInfo(string storage, int operationIndex = 0) { // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->DeleteStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/storage/{storage}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteStorageSingle Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteStorageSingleAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteStorageSingleWithHttpInfoAsync(storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteStorageSingle Delete storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteStorageSingleWithHttpInfoAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->DeleteStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/storage/{storage}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVM Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteVM(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteVMWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// deleteVM Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteVMWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/qemu/{vmid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVM Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteVMAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteVMWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteVM Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteVMWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/qemu/{vmid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVMFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteVMFirewallIPSet(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteVMFirewallIPSetWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// deleteVMFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteVMFirewallIPSetWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteVMFirewallIPSet"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVMFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVMFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVMFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVMFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteVMFirewallIPSetAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteVMFirewallIPSetWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteVMFirewallIPSet Delete IPSet /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteVMFirewallIPSetWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->DeleteVMFirewallIPSet"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVMFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVMFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVMFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVMFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response DeleteVMFirewallRule(string node, int pos, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteVMFirewallRuleWithHttpInfo(node, pos, vmid); return localVarResponse.Data; } /// /// deleteVMFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse DeleteVMFirewallRuleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVMFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task DeleteVMFirewallRuleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteVMFirewallRuleWithHttpInfoAsync(node, pos, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteVMFirewallRule Delete rule. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> DeleteVMFirewallRuleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVMSnapshot Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response DeleteVMSnapshot(string node, string snapname, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = DeleteVMSnapshotWithHttpInfo(node, snapname, vmid); return localVarResponse.Data; } /// /// deleteVMSnapshot Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse DeleteVMSnapshotWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVMSnapshot"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->DeleteVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// deleteVMSnapshot Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task DeleteVMSnapshotAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await DeleteVMSnapshotWithHttpInfoAsync(node, snapname, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// deleteVMSnapshot Delete a VM snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> DeleteVMSnapshotWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->DeleteVMSnapshot"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->DeleteVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.DeleteVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("DeleteVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccess Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetAccess(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessWithHttpInfo(); return localVarResponse.Data; } /// /// getAccess Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetAccessWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccess"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccess", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccess Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetAccessAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccess Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetAccessWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccess"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccess", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessAcl Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessAcl200Response public GetAccessAcl200Response GetAccessAcl(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessAclWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessAcl Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessAcl200Response public ProxmoxSharp.Client.ApiResponse GetAccessAclWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessAcl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/acl", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessAcl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessAcl Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessAcl200Response public async System.Threading.Tasks.Task GetAccessAclAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessAclWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessAcl Get Access Control List (ACLs). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessAcl200Response) public async System.Threading.Tasks.Task> GetAccessAclWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessAcl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/acl", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessAcl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessDomains Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessDomains200Response public GetAccessDomains200Response GetAccessDomains(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessDomainsWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessDomains Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessDomains200Response public ProxmoxSharp.Client.ApiResponse GetAccessDomainsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessDomains"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/domains", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessDomains", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessDomains Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessDomains200Response public async System.Threading.Tasks.Task GetAccessDomainsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessDomainsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessDomains Authentication domain index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessDomains200Response) public async System.Threading.Tasks.Task> GetAccessDomainsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessDomains"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/domains", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessDomains", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessDomainsSingle Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetAccessDomainsSingle(string realm, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessDomainsSingleWithHttpInfo(realm); return localVarResponse.Data; } /// /// getAccessDomainsSingle Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetAccessDomainsSingleWithHttpInfo(string realm, int operationIndex = 0) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->GetAccessDomainsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessDomainsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/domains/{realm}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessDomainsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessDomainsSingle Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetAccessDomainsSingleAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessDomainsSingleWithHttpInfoAsync(realm, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessDomainsSingle Get auth server configuration. /// /// Thrown when fails to make API call /// realm /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetAccessDomainsSingleWithHttpInfoAsync(string realm, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->GetAccessDomainsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessDomainsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/domains/{realm}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessDomainsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessGroups Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessGroups200Response public GetAccessGroups200Response GetAccessGroups(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessGroupsWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessGroups Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessGroups200Response public ProxmoxSharp.Client.ApiResponse GetAccessGroupsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/groups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessGroups Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessGroups200Response public async System.Threading.Tasks.Task GetAccessGroupsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessGroupsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessGroups Group index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessGroups200Response) public async System.Threading.Tasks.Task> GetAccessGroupsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessGroupsSingle Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// GetAccessGroupsSingle200Response public GetAccessGroupsSingle200Response GetAccessGroupsSingle(string groupid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessGroupsSingleWithHttpInfo(groupid); return localVarResponse.Data; } /// /// getAccessGroupsSingle Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// ApiResponse of GetAccessGroupsSingle200Response public ProxmoxSharp.Client.ApiResponse GetAccessGroupsSingleWithHttpInfo(string groupid, int operationIndex = 0) { // verify the required parameter 'groupid' is set if (groupid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'groupid' when calling ProxmoxGeneratedApi->GetAccessGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("groupid", ProxmoxSharp.Client.ClientUtils.ParameterToString(groupid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/groups/{groupid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessGroupsSingle Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessGroupsSingle200Response public async System.Threading.Tasks.Task GetAccessGroupsSingleAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessGroupsSingleWithHttpInfoAsync(groupid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessGroupsSingle Get group configuration. /// /// Thrown when fails to make API call /// groupid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessGroupsSingle200Response) public async System.Threading.Tasks.Task> GetAccessGroupsSingleWithHttpInfoAsync(string groupid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'groupid' is set if (groupid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'groupid' when calling ProxmoxGeneratedApi->GetAccessGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("groupid", ProxmoxSharp.Client.ClientUtils.ParameterToString(groupid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/groups/{groupid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessOpenid Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetAccessOpenid(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessOpenidWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessOpenid Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetAccessOpenidWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessOpenid"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/openid", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessOpenid", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessOpenid Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetAccessOpenidAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessOpenidWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessOpenid Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetAccessOpenidWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessOpenid"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/openid", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessOpenid", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessPermissions Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessPermissions200Response public GetAccessPermissions200Response GetAccessPermissions(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessPermissionsWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessPermissions Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessPermissions200Response public ProxmoxSharp.Client.ApiResponse GetAccessPermissionsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessPermissions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/permissions", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessPermissions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessPermissions Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessPermissions200Response public async System.Threading.Tasks.Task GetAccessPermissionsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessPermissionsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessPermissions Retrieve effective permissions of given user/token. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessPermissions200Response) public async System.Threading.Tasks.Task> GetAccessPermissionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessPermissions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/permissions", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessPermissions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessRoles Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessRoles200Response public GetAccessRoles200Response GetAccessRoles(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessRolesWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessRoles Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessRoles200Response public ProxmoxSharp.Client.ApiResponse GetAccessRolesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessRoles"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/roles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessRoles", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessRoles Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessRoles200Response public async System.Threading.Tasks.Task GetAccessRolesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessRolesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessRoles Role index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessRoles200Response) public async System.Threading.Tasks.Task> GetAccessRolesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessRoles"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/roles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessRoles", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessRolesSingle Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// GetAccessRolesSingle200Response public GetAccessRolesSingle200Response GetAccessRolesSingle(string roleid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessRolesSingleWithHttpInfo(roleid); return localVarResponse.Data; } /// /// getAccessRolesSingle Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// ApiResponse of GetAccessRolesSingle200Response public ProxmoxSharp.Client.ApiResponse GetAccessRolesSingleWithHttpInfo(string roleid, int operationIndex = 0) { // verify the required parameter 'roleid' is set if (roleid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'roleid' when calling ProxmoxGeneratedApi->GetAccessRolesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("roleid", ProxmoxSharp.Client.ClientUtils.ParameterToString(roleid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessRolesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/roles/{roleid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessRolesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessRolesSingle Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessRolesSingle200Response public async System.Threading.Tasks.Task GetAccessRolesSingleAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessRolesSingleWithHttpInfoAsync(roleid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessRolesSingle Get role configuration. /// /// Thrown when fails to make API call /// roleid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessRolesSingle200Response) public async System.Threading.Tasks.Task> GetAccessRolesSingleWithHttpInfoAsync(string roleid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'roleid' is set if (roleid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'roleid' when calling ProxmoxGeneratedApi->GetAccessRolesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("roleid", ProxmoxSharp.Client.ClientUtils.ParameterToString(roleid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessRolesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/roles/{roleid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessRolesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTfa List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessTfa200Response public GetAccessTfa200Response GetAccessTfa(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessTfaWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessTfa List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessTfa200Response public ProxmoxSharp.Client.ApiResponse GetAccessTfaWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTfa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/tfa", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTfa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTfa List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessTfa200Response public async System.Threading.Tasks.Task GetAccessTfaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessTfaWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessTfa List TFA configurations of users. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessTfa200Response) public async System.Threading.Tasks.Task> GetAccessTfaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTfa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/tfa", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTfa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTfaSingle List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessTfaSingle200Response public GetAccessTfaSingle200Response GetAccessTfaSingle(string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessTfaSingleWithHttpInfo(userid); return localVarResponse.Data; } /// /// getAccessTfaSingle List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessTfaSingle200Response public ProxmoxSharp.Client.ApiResponse GetAccessTfaSingleWithHttpInfo(string userid, int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessTfaSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTfaSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/tfa/{userid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTfaSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTfaSingle List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessTfaSingle200Response public async System.Threading.Tasks.Task GetAccessTfaSingleAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessTfaSingleWithHttpInfoAsync(userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessTfaSingle List TFA configurations of users. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessTfaSingle200Response) public async System.Threading.Tasks.Task> GetAccessTfaSingleWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessTfaSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTfaSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/tfa/{userid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTfaSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTfaSingleSingle Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// GetAccessTfaSingleSingle200Response public GetAccessTfaSingleSingle200Response GetAccessTfaSingleSingle(string id, string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessTfaSingleSingleWithHttpInfo(id, userid); return localVarResponse.Data; } /// /// getAccessTfaSingleSingle Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// ApiResponse of GetAccessTfaSingleSingle200Response public ProxmoxSharp.Client.ApiResponse GetAccessTfaSingleSingleWithHttpInfo(string id, string userid, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetAccessTfaSingleSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessTfaSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTfaSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/tfa/{userid}/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTfaSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTfaSingleSingle Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessTfaSingleSingle200Response public async System.Threading.Tasks.Task GetAccessTfaSingleSingleAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessTfaSingleSingleWithHttpInfoAsync(id, userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessTfaSingleSingle Fetch a requested TFA entry if present. /// /// Thrown when fails to make API call /// id /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessTfaSingleSingle200Response) public async System.Threading.Tasks.Task> GetAccessTfaSingleSingleWithHttpInfoAsync(string id, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetAccessTfaSingleSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessTfaSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTfaSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/tfa/{userid}/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTfaSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTicket Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetAccessTicket(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessTicketWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessTicket Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetAccessTicketWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTicket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/ticket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTicket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessTicket Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetAccessTicketAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessTicketWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessTicket Dummy. Useful for formatters which want to provide a login page. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetAccessTicketWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessTicket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/ticket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessTicket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsers User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetAccessUsers200Response public GetAccessUsers200Response GetAccessUsers(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessUsersWithHttpInfo(); return localVarResponse.Data; } /// /// getAccessUsers User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetAccessUsers200Response public ProxmoxSharp.Client.ApiResponse GetAccessUsersWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/users", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsers User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsers200Response public async System.Threading.Tasks.Task GetAccessUsersAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessUsersWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessUsers User index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsers200Response) public async System.Threading.Tasks.Task> GetAccessUsersWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingle Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessUsersSingle200Response public GetAccessUsersSingle200Response GetAccessUsersSingle(string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessUsersSingleWithHttpInfo(userid); return localVarResponse.Data; } /// /// getAccessUsersSingle Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingle200Response public ProxmoxSharp.Client.ApiResponse GetAccessUsersSingleWithHttpInfo(string userid, int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/users/{userid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingle Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingle200Response public async System.Threading.Tasks.Task GetAccessUsersSingleAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessUsersSingleWithHttpInfoAsync(userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessUsersSingle Get user configuration. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingle200Response) public async System.Threading.Tasks.Task> GetAccessUsersSingleWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/users/{userid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingleTfa Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessUsersSingleTfa200Response public GetAccessUsersSingleTfa200Response GetAccessUsersSingleTfa(string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessUsersSingleTfaWithHttpInfo(userid); return localVarResponse.Data; } /// /// getAccessUsersSingleTfa Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingleTfa200Response public ProxmoxSharp.Client.ApiResponse GetAccessUsersSingleTfaWithHttpInfo(string userid, int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleTfa"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingleTfa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/users/{userid}/tfa", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingleTfa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingleTfa Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingleTfa200Response public async System.Threading.Tasks.Task GetAccessUsersSingleTfaAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessUsersSingleTfaWithHttpInfoAsync(userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessUsersSingleTfa Get user TFA types (Personal and Realm). /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingleTfa200Response) public async System.Threading.Tasks.Task> GetAccessUsersSingleTfaWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleTfa"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingleTfa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/users/{userid}/tfa", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingleTfa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingleToken Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// GetAccessUsersSingleToken200Response public GetAccessUsersSingleToken200Response GetAccessUsersSingleToken(string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessUsersSingleTokenWithHttpInfo(userid); return localVarResponse.Data; } /// /// getAccessUsersSingleToken Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingleToken200Response public ProxmoxSharp.Client.ApiResponse GetAccessUsersSingleTokenWithHttpInfo(string userid, int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleToken"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingleToken"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/users/{userid}/token", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingleToken", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingleToken Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingleToken200Response public async System.Threading.Tasks.Task GetAccessUsersSingleTokenAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessUsersSingleTokenWithHttpInfoAsync(userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessUsersSingleToken Get user API tokens. /// /// Thrown when fails to make API call /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingleToken200Response) public async System.Threading.Tasks.Task> GetAccessUsersSingleTokenWithHttpInfoAsync(string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleToken"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingleToken"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/users/{userid}/token", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingleToken", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingleTokenSingle Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// GetAccessUsersSingleTokenSingle200Response public GetAccessUsersSingleTokenSingle200Response GetAccessUsersSingleTokenSingle(string tokenid, string userid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetAccessUsersSingleTokenSingleWithHttpInfo(tokenid, userid); return localVarResponse.Data; } /// /// getAccessUsersSingleTokenSingle Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// ApiResponse of GetAccessUsersSingleTokenSingle200Response public ProxmoxSharp.Client.ApiResponse GetAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, int operationIndex = 0) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getAccessUsersSingleTokenSingle Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetAccessUsersSingleTokenSingle200Response public async System.Threading.Tasks.Task GetAccessUsersSingleTokenSingleAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetAccessUsersSingleTokenSingleWithHttpInfoAsync(tokenid, userid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getAccessUsersSingleTokenSingle Get specific API token information. /// /// Thrown when fails to make API call /// tokenid /// userid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetAccessUsersSingleTokenSingle200Response) public async System.Threading.Tasks.Task> GetAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->GetAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getCluster Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetCluster(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterWithHttpInfo(); return localVarResponse.Data; } /// /// getCluster Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetCluster"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCluster", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getCluster Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getCluster Cluster index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetCluster"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCluster", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcme ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterAcme(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcme ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcme"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcme", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcme ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterAcmeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcme ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterAcmeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcme"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcme", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeAccount ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterAcmeAccount(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeAccountWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcmeAccount ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeAccountWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeAccount"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/account", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeAccount", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeAccount ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterAcmeAccountAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeAccountWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmeAccount ACMEAccount index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterAcmeAccountWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeAccount"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/account", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeAccount", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeAccountSingle Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterAcmeAccountSingle200Response public GetClusterAcmeAccountSingle200Response GetClusterAcmeAccountSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeAccountSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterAcmeAccountSingle Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterAcmeAccountSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeAccountSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterAcmeAccountSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeAccountSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/account/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeAccountSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeAccountSingle Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeAccountSingle200Response public async System.Threading.Tasks.Task GetClusterAcmeAccountSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeAccountSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmeAccountSingle Return existing ACME account information. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeAccountSingle200Response) public async System.Threading.Tasks.Task> GetClusterAcmeAccountSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterAcmeAccountSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeAccountSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/account/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeAccountSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeChallengeschema Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeChallengeschema200Response public GetClusterAcmeChallengeschema200Response GetClusterAcmeChallengeschema(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeChallengeschemaWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcmeChallengeschema Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeChallengeschema200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeChallengeschemaWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeChallengeschema"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/challenge-schema", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeChallengeschema", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeChallengeschema Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeChallengeschema200Response public async System.Threading.Tasks.Task GetClusterAcmeChallengeschemaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeChallengeschemaWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmeChallengeschema Get schema of ACME challenge types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeChallengeschema200Response) public async System.Threading.Tasks.Task> GetClusterAcmeChallengeschemaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeChallengeschema"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/challenge-schema", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeChallengeschema", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeDirectories Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeDirectories200Response public GetClusterAcmeDirectories200Response GetClusterAcmeDirectories(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeDirectoriesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcmeDirectories Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeDirectories200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeDirectoriesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeDirectories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/directories", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeDirectories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeDirectories Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeDirectories200Response public async System.Threading.Tasks.Task GetClusterAcmeDirectoriesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeDirectoriesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmeDirectories Get named known ACME directory endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeDirectories200Response) public async System.Threading.Tasks.Task> GetClusterAcmeDirectoriesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeDirectories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/directories", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeDirectories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeMeta Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeMeta200Response public GetClusterAcmeMeta200Response GetClusterAcmeMeta(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeMetaWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcmeMeta Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeMeta200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeMetaWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeMeta"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/meta", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeMeta", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeMeta Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeMeta200Response public async System.Threading.Tasks.Task GetClusterAcmeMetaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeMetaWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmeMeta Retrieve ACME Directory Meta Information /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeMeta200Response) public async System.Threading.Tasks.Task> GetClusterAcmeMetaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeMeta"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/meta", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeMeta", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmePlugins ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmePlugins200Response public GetClusterAcmePlugins200Response GetClusterAcmePlugins(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmePluginsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcmePlugins ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmePlugins200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmePluginsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmePlugins"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/plugins", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmePlugins", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmePlugins ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmePlugins200Response public async System.Threading.Tasks.Task GetClusterAcmePluginsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmePluginsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmePlugins ACME plugin index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmePlugins200Response) public async System.Threading.Tasks.Task> GetClusterAcmePluginsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmePlugins"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/plugins", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmePlugins", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmePluginsSingle Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterAcmePluginsSingle200Response public GetClusterAcmePluginsSingle200Response GetClusterAcmePluginsSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmePluginsSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterAcmePluginsSingle Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterAcmePluginsSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmePluginsSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterAcmePluginsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmePluginsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/plugins/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmePluginsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmePluginsSingle Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmePluginsSingle200Response public async System.Threading.Tasks.Task GetClusterAcmePluginsSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmePluginsSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmePluginsSingle Get ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmePluginsSingle200Response) public async System.Threading.Tasks.Task> GetClusterAcmePluginsSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterAcmePluginsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmePluginsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/plugins/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmePluginsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeTos Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterAcmeTos200Response public GetClusterAcmeTos200Response GetClusterAcmeTos(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterAcmeTosWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterAcmeTos Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterAcmeTos200Response public ProxmoxSharp.Client.ApiResponse GetClusterAcmeTosWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeTos"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/acme/tos", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeTos", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterAcmeTos Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterAcmeTos200Response public async System.Threading.Tasks.Task GetClusterAcmeTosAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterAcmeTosWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterAcmeTos Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterAcmeTos200Response) public async System.Threading.Tasks.Task> GetClusterAcmeTosWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterAcmeTos"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/acme/tos", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterAcmeTos", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackup List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackup200Response public GetClusterBackup200Response GetClusterBackup(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBackupWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterBackup List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackup200Response public ProxmoxSharp.Client.ApiResponse GetClusterBackupWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/backup", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackup List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackup200Response public async System.Threading.Tasks.Task GetClusterBackupAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBackupWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBackup List vzdump backup schedule. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackup200Response) public async System.Threading.Tasks.Task> GetClusterBackupWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/backup", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupSingle Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterBackupSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBackupSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterBackupSingle Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterBackupSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterBackupSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/backup/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupSingle Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterBackupSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBackupSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBackupSingle Read vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterBackupSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterBackupSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/backup/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupSingleIncludedvolumes Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterBackupSingleIncludedvolumes200Response public GetClusterBackupSingleIncludedvolumes200Response GetClusterBackupSingleIncludedvolumes(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBackupSingleIncludedvolumesWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterBackupSingleIncludedvolumes Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterBackupSingleIncludedvolumes200Response public ProxmoxSharp.Client.ApiResponse GetClusterBackupSingleIncludedvolumesWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterBackupSingleIncludedvolumes"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupSingleIncludedvolumes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/backup/{id}/included_volumes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupSingleIncludedvolumes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupSingleIncludedvolumes Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupSingleIncludedvolumes200Response public async System.Threading.Tasks.Task GetClusterBackupSingleIncludedvolumesAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBackupSingleIncludedvolumesWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBackupSingleIncludedvolumes Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupSingleIncludedvolumes200Response) public async System.Threading.Tasks.Task> GetClusterBackupSingleIncludedvolumesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterBackupSingleIncludedvolumes"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupSingleIncludedvolumes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/backup/{id}/included_volumes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupSingleIncludedvolumes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupinfo Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackupinfo200Response public GetClusterBackupinfo200Response GetClusterBackupinfo(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBackupinfoWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterBackupinfo Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackupinfo200Response public ProxmoxSharp.Client.ApiResponse GetClusterBackupinfoWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/backup-info", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupinfo Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupinfo200Response public async System.Threading.Tasks.Task GetClusterBackupinfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBackupinfoWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBackupinfo Index for backup info related endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupinfo200Response) public async System.Threading.Tasks.Task> GetClusterBackupinfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/backup-info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupinfoNotbackedup Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackupinfoNotbackedup200Response public GetClusterBackupinfoNotbackedup200Response GetClusterBackupinfoNotbackedup(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBackupinfoNotbackedupWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterBackupinfoNotbackedup Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackupinfoNotbackedup200Response public ProxmoxSharp.Client.ApiResponse GetClusterBackupinfoNotbackedupWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupinfoNotbackedup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/backup-info/not-backed-up", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupinfoNotbackedup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBackupinfoNotbackedup Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupinfoNotbackedup200Response public async System.Threading.Tasks.Task GetClusterBackupinfoNotbackedupAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBackupinfoNotbackedupWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBackupinfoNotbackedup Shows all guests which are not covered by any backup job. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupinfoNotbackedup200Response) public async System.Threading.Tasks.Task> GetClusterBackupinfoNotbackedupWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBackupinfoNotbackedup"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/backup-info/not-backed-up", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBackupinfoNotbackedup", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBulkaction List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMapping200Response public GetClusterMapping200Response GetClusterBulkaction(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBulkactionWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterBulkaction List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMapping200Response public ProxmoxSharp.Client.ApiResponse GetClusterBulkactionWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBulkaction"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/bulk-action", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBulkaction", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBulkaction List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMapping200Response public async System.Threading.Tasks.Task GetClusterBulkactionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBulkactionWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBulkaction List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMapping200Response) public async System.Threading.Tasks.Task> GetClusterBulkactionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBulkaction"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/bulk-action", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBulkaction", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBulkactionGuest Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterBulkactionGuest(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterBulkactionGuestWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterBulkactionGuest Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterBulkactionGuestWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBulkactionGuest"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/bulk-action/guest", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBulkactionGuest", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterBulkactionGuest Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterBulkactionGuestAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterBulkactionGuestWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterBulkactionGuest Bulk action index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterBulkactionGuestWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterBulkactionGuest"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/bulk-action/guest", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterBulkactionGuest", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCeph Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterCeph(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterCephWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterCeph Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterCephWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCeph"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ceph", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCeph", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCeph Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterCephAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterCephWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterCeph Cluster ceph index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterCephWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCeph"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ceph", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCeph", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephFlags get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterCephFlags200Response public GetClusterCephFlags200Response GetClusterCephFlags(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterCephFlagsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterCephFlags get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterCephFlags200Response public ProxmoxSharp.Client.ApiResponse GetClusterCephFlagsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephFlags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ceph/flags", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephFlags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephFlags get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephFlags200Response public async System.Threading.Tasks.Task GetClusterCephFlagsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterCephFlagsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterCephFlags get the status of all ceph flags /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephFlags200Response) public async System.Threading.Tasks.Task> GetClusterCephFlagsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephFlags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ceph/flags", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephFlags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephFlagsSingle Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// GetClusterCephFlagsSingle200Response public GetClusterCephFlagsSingle200Response GetClusterCephFlagsSingle(string flag, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterCephFlagsSingleWithHttpInfo(flag); return localVarResponse.Data; } /// /// getClusterCephFlagsSingle Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// ApiResponse of GetClusterCephFlagsSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterCephFlagsSingleWithHttpInfo(string flag, int operationIndex = 0) { // verify the required parameter 'flag' is set if (flag == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'flag' when calling ProxmoxGeneratedApi->GetClusterCephFlagsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("flag", ProxmoxSharp.Client.ClientUtils.ParameterToString(flag)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephFlagsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ceph/flags/{flag}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephFlagsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephFlagsSingle Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephFlagsSingle200Response public async System.Threading.Tasks.Task GetClusterCephFlagsSingleAsync(string flag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterCephFlagsSingleWithHttpInfoAsync(flag, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterCephFlagsSingle Get the status of a specific ceph flag. /// /// Thrown when fails to make API call /// flag /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephFlagsSingle200Response) public async System.Threading.Tasks.Task> GetClusterCephFlagsSingleWithHttpInfoAsync(string flag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'flag' is set if (flag == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'flag' when calling ProxmoxGeneratedApi->GetClusterCephFlagsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("flag", ProxmoxSharp.Client.ClientUtils.ParameterToString(flag)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephFlagsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ceph/flags/{flag}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephFlagsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephMetadata Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterCephMetadata200Response public GetClusterCephMetadata200Response GetClusterCephMetadata(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterCephMetadataWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterCephMetadata Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterCephMetadata200Response public ProxmoxSharp.Client.ApiResponse GetClusterCephMetadataWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephMetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ceph/metadata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephMetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephMetadata Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephMetadata200Response public async System.Threading.Tasks.Task GetClusterCephMetadataAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterCephMetadataWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterCephMetadata Get ceph metadata. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephMetadata200Response) public async System.Threading.Tasks.Task> GetClusterCephMetadataWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephMetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ceph/metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephMetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephStatus Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterCephStatus(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterCephStatusWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterCephStatus Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterCephStatusWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ceph/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterCephStatus Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterCephStatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterCephStatusWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterCephStatus Get ceph status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterCephStatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterCephStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ceph/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterCephStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfig Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterConfig(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterConfigWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterConfig Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterConfigWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfig Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterConfigAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterConfigWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterConfig Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterConfigWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigApiversion Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterConfigApiversion200Response public GetClusterConfigApiversion200Response GetClusterConfigApiversion(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterConfigApiversionWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterConfigApiversion Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterConfigApiversion200Response public ProxmoxSharp.Client.ApiResponse GetClusterConfigApiversionWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigApiversion"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/config/apiversion", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigApiversion", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigApiversion Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterConfigApiversion200Response public async System.Threading.Tasks.Task GetClusterConfigApiversionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterConfigApiversionWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterConfigApiversion Return the version of the cluster join API available on this node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterConfigApiversion200Response) public async System.Threading.Tasks.Task> GetClusterConfigApiversionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigApiversion"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/config/apiversion", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigApiversion", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigJoin Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterConfigJoin200Response public GetClusterConfigJoin200Response GetClusterConfigJoin(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterConfigJoinWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterConfigJoin Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterConfigJoin200Response public ProxmoxSharp.Client.ApiResponse GetClusterConfigJoinWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigJoin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/config/join", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigJoin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigJoin Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterConfigJoin200Response public async System.Threading.Tasks.Task GetClusterConfigJoinAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterConfigJoinWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterConfigJoin Get information needed to join this cluster over the connected node. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterConfigJoin200Response) public async System.Threading.Tasks.Task> GetClusterConfigJoinWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigJoin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/config/join", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigJoin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigNodes Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterConfigNodes200Response public GetClusterConfigNodes200Response GetClusterConfigNodes(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterConfigNodesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterConfigNodes Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterConfigNodes200Response public ProxmoxSharp.Client.ApiResponse GetClusterConfigNodesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigNodes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/config/nodes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigNodes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigNodes Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterConfigNodes200Response public async System.Threading.Tasks.Task GetClusterConfigNodesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterConfigNodesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterConfigNodes Corosync node list. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterConfigNodes200Response) public async System.Threading.Tasks.Task> GetClusterConfigNodesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigNodes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/config/nodes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigNodes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigQdevice Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterConfigQdevice(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterConfigQdeviceWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterConfigQdevice Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterConfigQdeviceWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigQdevice"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/config/qdevice", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigQdevice", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigQdevice Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterConfigQdeviceAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterConfigQdeviceWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterConfigQdevice Get QDevice status /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterConfigQdeviceWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigQdevice"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/config/qdevice", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigQdevice", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigTotem Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterConfigTotem(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterConfigTotemWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterConfigTotem Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterConfigTotemWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigTotem"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/config/totem", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigTotem", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterConfigTotem Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterConfigTotemAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterConfigTotemWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterConfigTotem Get corosync totem protocol settings. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterConfigTotemWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterConfigTotem"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/config/totem", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterConfigTotem", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewall Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterFirewall(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewall Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewall Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterFirewallAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewall Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterFirewallWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallAliases List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallAliases200Response public GetClusterFirewallAliases200Response GetClusterFirewallAliases(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallAliasesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallAliases List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallAliases200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallAliasesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/aliases", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallAliases List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallAliases200Response public async System.Threading.Tasks.Task GetClusterFirewallAliasesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallAliasesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallAliases List aliases /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallAliases200Response) public async System.Threading.Tasks.Task> GetClusterFirewallAliasesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/aliases", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterFirewallAliasesSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallAliasesSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallAliasesSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterFirewallAliasesSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallAliasesSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterFirewallAliasesSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallGroupRule Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response public GetClusterFirewallGroupRule200Response GetClusterFirewallGroupRule(string group, int pos, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallGroupRuleWithHttpInfo(group, pos); return localVarResponse.Data; } /// /// getClusterFirewallGroupRule Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallGroupRuleWithHttpInfo(string group, int pos, int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->GetClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/groups/{group}/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallGroupRule Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response public async System.Threading.Tasks.Task GetClusterFirewallGroupRuleAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallGroupRuleWithHttpInfoAsync(group, pos, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallGroupRule Get single rule data. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) public async System.Threading.Tasks.Task> GetClusterFirewallGroupRuleWithHttpInfoAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->GetClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/groups/{group}/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallGroupRules List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response public GetClusterFirewallGroupRules200Response GetClusterFirewallGroupRules(string group, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallGroupRulesWithHttpInfo(group); return localVarResponse.Data; } /// /// getClusterFirewallGroupRules List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallGroupRulesWithHttpInfo(string group, int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->GetClusterFirewallGroupRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallGroupRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/groups/{group}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallGroupRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallGroupRules List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response public async System.Threading.Tasks.Task GetClusterFirewallGroupRulesAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallGroupRulesWithHttpInfoAsync(group, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallGroupRules List rules. /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) public async System.Threading.Tasks.Task> GetClusterFirewallGroupRulesWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->GetClusterFirewallGroupRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallGroupRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/groups/{group}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallGroupRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallGroups List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallGroups200Response public GetClusterFirewallGroups200Response GetClusterFirewallGroups(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallGroupsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallGroups List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroups200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallGroupsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/groups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallGroups List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroups200Response public async System.Threading.Tasks.Task GetClusterFirewallGroupsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallGroupsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallGroups List security groups. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroups200Response) public async System.Threading.Tasks.Task> GetClusterFirewallGroupsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterFirewallIPSet200Response public GetClusterFirewallIPSet200Response GetClusterFirewallIPSet(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallIPSetWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSet200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallIPSetWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSet200Response public async System.Threading.Tasks.Task GetClusterFirewallIPSetAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallIPSetWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSet200Response) public async System.Threading.Tasks.Task> GetClusterFirewallIPSetWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterFirewallIPSetIP(string cidr, string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallIPSetIPWithHttpInfo(cidr, name); return localVarResponse.Data; } /// /// getClusterFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallIPSetIPWithHttpInfo(string cidr, string name, int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->GetClusterFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterFirewallIPSetIPAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallIPSetIPWithHttpInfoAsync(cidr, name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->GetClusterFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallIPSets200Response public GetClusterFirewallIPSets200Response GetClusterFirewallIPSets(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallIPSetsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSets200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallIPSetsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallIPSets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/ipset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallIPSets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSets200Response public async System.Threading.Tasks.Task GetClusterFirewallIPSetsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallIPSetsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSets200Response) public async System.Threading.Tasks.Task> GetClusterFirewallIPSetsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallIPSets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/ipset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallIPSets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallMacros List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallMacros200Response public GetClusterFirewallMacros200Response GetClusterFirewallMacros(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallMacrosWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallMacros List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallMacros200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallMacrosWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallMacros"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/macros", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallMacros", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallMacros List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallMacros200Response public async System.Threading.Tasks.Task GetClusterFirewallMacrosAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallMacrosWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallMacros List available macros /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallMacros200Response) public async System.Threading.Tasks.Task> GetClusterFirewallMacrosWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallMacros"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/macros", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallMacros", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallOptions Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallOptions200Response public GetClusterFirewallOptions200Response GetClusterFirewallOptions(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallOptionsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallOptions Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallOptions200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallOptionsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallOptions Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallOptions200Response public async System.Threading.Tasks.Task GetClusterFirewallOptionsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallOptionsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallOptions Get Firewall options. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallOptions200Response) public async System.Threading.Tasks.Task> GetClusterFirewallOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallRefs200Response public GetClusterFirewallRefs200Response GetClusterFirewallRefs(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallRefsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallRefs200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallRefsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallRefs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/refs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallRefs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallRefs200Response public async System.Threading.Tasks.Task GetClusterFirewallRefsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallRefsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallRefs200Response) public async System.Threading.Tasks.Task> GetClusterFirewallRefsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallRefs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/refs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallRefs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response public GetClusterFirewallGroupRule200Response GetClusterFirewallRule(int pos, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallRuleWithHttpInfo(pos); return localVarResponse.Data; } /// /// getClusterFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallRuleWithHttpInfo(int pos, int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response public async System.Threading.Tasks.Task GetClusterFirewallRuleAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallRuleWithHttpInfoAsync(pos, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) public async System.Threading.Tasks.Task> GetClusterFirewallRuleWithHttpInfoAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallRules List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response public GetClusterFirewallGroupRules200Response GetClusterFirewallRules(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterFirewallRulesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterFirewallRules List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response public ProxmoxSharp.Client.ApiResponse GetClusterFirewallRulesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterFirewallRules List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response public async System.Threading.Tasks.Task GetClusterFirewallRulesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterFirewallRulesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterFirewallRules List rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) public async System.Threading.Tasks.Task> GetClusterFirewallRulesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHa Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHa200Response public GetClusterHa200Response GetClusterHa(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHa Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHa Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response public async System.Threading.Tasks.Task GetClusterHaAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHa Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) public async System.Threading.Tasks.Task> GetClusterHaWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaGroups Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaGroups200Response public GetClusterHaGroups200Response GetClusterHaGroups(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaGroupsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHaGroups Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaGroups200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaGroupsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/groups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaGroups Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaGroups200Response public async System.Threading.Tasks.Task GetClusterHaGroupsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaGroupsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaGroups Get HA groups. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaGroups200Response) public async System.Threading.Tasks.Task> GetClusterHaGroupsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaGroups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaGroups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaGroupsSingle Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetClusterHaGroupsSingle(string group, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaGroupsSingleWithHttpInfo(group); return localVarResponse.Data; } /// /// getClusterHaGroupsSingle Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaGroupsSingleWithHttpInfo(string group, int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->GetClusterHaGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/groups/{group}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaGroupsSingle Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetClusterHaGroupsSingleAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaGroupsSingleWithHttpInfoAsync(group, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaGroupsSingle Read ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetClusterHaGroupsSingleWithHttpInfoAsync(string group, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->GetClusterHaGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/groups/{group}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaResources List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaResources200Response public GetClusterHaResources200Response GetClusterHaResources(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaResourcesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHaResources List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaResources200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaResourcesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaResources"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/resources", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaResources", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaResources List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaResources200Response public async System.Threading.Tasks.Task GetClusterHaResourcesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaResourcesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaResources List HA resources. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaResources200Response) public async System.Threading.Tasks.Task> GetClusterHaResourcesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaResources"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaResources", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaResourcesSingle Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// GetClusterHaResourcesSingle200Response public GetClusterHaResourcesSingle200Response GetClusterHaResourcesSingle(string sid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaResourcesSingleWithHttpInfo(sid); return localVarResponse.Data; } /// /// getClusterHaResourcesSingle Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// ApiResponse of GetClusterHaResourcesSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaResourcesSingleWithHttpInfo(string sid, int operationIndex = 0) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->GetClusterHaResourcesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaResourcesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/resources/{sid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaResourcesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaResourcesSingle Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaResourcesSingle200Response public async System.Threading.Tasks.Task GetClusterHaResourcesSingleAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaResourcesSingleWithHttpInfoAsync(sid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaResourcesSingle Read resource configuration. /// /// Thrown when fails to make API call /// sid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaResourcesSingle200Response) public async System.Threading.Tasks.Task> GetClusterHaResourcesSingleWithHttpInfoAsync(string sid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->GetClusterHaResourcesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaResourcesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/resources/{sid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaResourcesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaRules Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaRules200Response public GetClusterHaRules200Response GetClusterHaRules(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaRulesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHaRules Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaRules200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaRulesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaRules Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaRules200Response public async System.Threading.Tasks.Task GetClusterHaRulesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaRulesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaRules Get HA rules. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaRules200Response) public async System.Threading.Tasks.Task> GetClusterHaRulesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaRulesSingle Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// GetClusterHaRulesSingle200Response public GetClusterHaRulesSingle200Response GetClusterHaRulesSingle(string rule, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaRulesSingleWithHttpInfo(rule); return localVarResponse.Data; } /// /// getClusterHaRulesSingle Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// ApiResponse of GetClusterHaRulesSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaRulesSingleWithHttpInfo(string rule, int operationIndex = 0) { // verify the required parameter 'rule' is set if (rule == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'rule' when calling ProxmoxGeneratedApi->GetClusterHaRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("rule", ProxmoxSharp.Client.ClientUtils.ParameterToString(rule)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/rules/{rule}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaRulesSingle Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaRulesSingle200Response public async System.Threading.Tasks.Task GetClusterHaRulesSingleAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaRulesSingleWithHttpInfoAsync(rule, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaRulesSingle Read HA rule. /// /// Thrown when fails to make API call /// rule /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaRulesSingle200Response) public async System.Threading.Tasks.Task> GetClusterHaRulesSingleWithHttpInfoAsync(string rule, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'rule' is set if (rule == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'rule' when calling ProxmoxGeneratedApi->GetClusterHaRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("rule", ProxmoxSharp.Client.ClientUtils.ParameterToString(rule)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/rules/{rule}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaStatus Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterHaStatus(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaStatusWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHaStatus Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaStatusWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaStatus Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterHaStatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaStatusWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaStatus Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterHaStatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaStatusCurrent Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHaStatusCurrent200Response public GetClusterHaStatusCurrent200Response GetClusterHaStatusCurrent(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaStatusCurrentWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHaStatusCurrent Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHaStatusCurrent200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaStatusCurrentWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaStatusCurrent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/status/current", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaStatusCurrent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaStatusCurrent Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHaStatusCurrent200Response public async System.Threading.Tasks.Task GetClusterHaStatusCurrentAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaStatusCurrentWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaStatusCurrent Get HA manger status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHaStatusCurrent200Response) public async System.Threading.Tasks.Task> GetClusterHaStatusCurrentWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaStatusCurrent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/status/current", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaStatusCurrent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaStatusManagerstatus Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterHaStatusManagerstatus(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterHaStatusManagerstatusWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterHaStatusManagerstatus Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterHaStatusManagerstatusWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaStatusManagerstatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/ha/status/manager_status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaStatusManagerstatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterHaStatusManagerstatus Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterHaStatusManagerstatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterHaStatusManagerstatusWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterHaStatusManagerstatus Get full HA manger status, including LRM status. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterHaStatusManagerstatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterHaStatusManagerstatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/ha/status/manager_status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterHaStatusManagerstatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobs Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterBackupinfo200Response public GetClusterBackupinfo200Response GetClusterJobs(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterJobsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterJobs Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterBackupinfo200Response public ProxmoxSharp.Client.ApiResponse GetClusterJobsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/jobs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobs Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterBackupinfo200Response public async System.Threading.Tasks.Task GetClusterJobsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterJobsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterJobs Index for jobs related endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterBackupinfo200Response) public async System.Threading.Tasks.Task> GetClusterJobsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/jobs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobsRealmsync List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterJobsRealmsync200Response public GetClusterJobsRealmsync200Response GetClusterJobsRealmsync(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterJobsRealmsyncWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterJobsRealmsync List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterJobsRealmsync200Response public ProxmoxSharp.Client.ApiResponse GetClusterJobsRealmsyncWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobsRealmsync"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/jobs/realm-sync", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobsRealmsync", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobsRealmsync List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterJobsRealmsync200Response public async System.Threading.Tasks.Task GetClusterJobsRealmsyncAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterJobsRealmsyncWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterJobsRealmsync List configured realm-sync-jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterJobsRealmsync200Response) public async System.Threading.Tasks.Task> GetClusterJobsRealmsyncWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobsRealmsync"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/jobs/realm-sync", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobsRealmsync", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobsRealmsyncSingle Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterJobsRealmsyncSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterJobsRealmsyncSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterJobsRealmsyncSingle Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterJobsRealmsyncSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobsRealmsyncSingle Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterJobsRealmsyncSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterJobsRealmsyncSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterJobsRealmsyncSingle Read realm-sync job definition. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobsScheduleanalyze Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterJobsScheduleanalyze200Response public GetClusterJobsScheduleanalyze200Response GetClusterJobsScheduleanalyze(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterJobsScheduleanalyzeWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterJobsScheduleanalyze Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterJobsScheduleanalyze200Response public ProxmoxSharp.Client.ApiResponse GetClusterJobsScheduleanalyzeWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobsScheduleanalyze"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/jobs/schedule-analyze", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobsScheduleanalyze", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterJobsScheduleanalyze Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterJobsScheduleanalyze200Response public async System.Threading.Tasks.Task GetClusterJobsScheduleanalyzeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterJobsScheduleanalyzeWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterJobsScheduleanalyze Returns a list of future schedule runtimes. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterJobsScheduleanalyze200Response) public async System.Threading.Tasks.Task> GetClusterJobsScheduleanalyzeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterJobsScheduleanalyze"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/jobs/schedule-analyze", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterJobsScheduleanalyze", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterLog Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterLog(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterLogWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterLog Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterLogWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterLog Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterLogAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterLogWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterLog Read cluster log /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterLogWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMapping List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMapping200Response public GetClusterMapping200Response GetClusterMapping(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMapping List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMapping200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMapping"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMapping", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMapping List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMapping200Response public async System.Threading.Tasks.Task GetClusterMappingAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMapping List resource types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMapping200Response) public async System.Threading.Tasks.Task> GetClusterMappingWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMapping"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMapping", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingDir List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMappingDir200Response public GetClusterMappingDir200Response GetClusterMappingDir(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingDirWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMappingDir List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMappingDir200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingDirWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingDir"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping/dir", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingDir", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingDir List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMappingDir200Response public async System.Threading.Tasks.Task GetClusterMappingDirAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingDirWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMappingDir List directory mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMappingDir200Response) public async System.Threading.Tasks.Task> GetClusterMappingDirWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingDir"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping/dir", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingDir", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingDirSingle Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterMappingDirSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingDirSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterMappingDirSingle Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingDirSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMappingDirSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingDirSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping/dir/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingDirSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingDirSingle Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterMappingDirSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingDirSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMappingDirSingle Get directory mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterMappingDirSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMappingDirSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingDirSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping/dir/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingDirSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingPci List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMappingPci200Response public GetClusterMappingPci200Response GetClusterMappingPci(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingPciWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMappingPci List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMappingPci200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingPciWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingPci"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping/pci", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingPci", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingPci List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMappingPci200Response public async System.Threading.Tasks.Task GetClusterMappingPciAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingPciWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMappingPci List PCI Hardware Mapping /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMappingPci200Response) public async System.Threading.Tasks.Task> GetClusterMappingPciWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingPci"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping/pci", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingPci", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingPciSingle Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterMappingPciSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingPciSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterMappingPciSingle Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingPciSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMappingPciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingPciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping/pci/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingPciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingPciSingle Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterMappingPciSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingPciSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMappingPciSingle Get PCI Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterMappingPciSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMappingPciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingPciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping/pci/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingPciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingUsb List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMappingUsb200Response public GetClusterMappingUsb200Response GetClusterMappingUsb(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingUsbWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMappingUsb List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMappingUsb200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingUsbWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingUsb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping/usb", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingUsb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingUsb List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMappingUsb200Response public async System.Threading.Tasks.Task GetClusterMappingUsbAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingUsbWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMappingUsb List USB Hardware Mappings /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMappingUsb200Response) public async System.Threading.Tasks.Task> GetClusterMappingUsbWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingUsb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping/usb", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingUsb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingUsbSingle Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterMappingUsbSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMappingUsbSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterMappingUsbSingle Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterMappingUsbSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMappingUsbSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingUsbSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/mapping/usb/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingUsbSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMappingUsbSingle Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterMappingUsbSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMappingUsbSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMappingUsbSingle Get USB Mapping. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterMappingUsbSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMappingUsbSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMappingUsbSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/mapping/usb/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMappingUsbSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetrics Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterMetrics(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMetricsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMetrics Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterMetricsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetrics"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/metrics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetrics", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetrics Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterMetricsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMetricsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMetrics Metrics index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterMetricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetrics"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/metrics", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetrics", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetricsExport Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsExport200Response public GetClusterMetricsExport200Response GetClusterMetricsExport(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMetricsExportWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMetricsExport Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsExport200Response public ProxmoxSharp.Client.ApiResponse GetClusterMetricsExportWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetricsExport"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/metrics/export", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetricsExport", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetricsExport Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsExport200Response public async System.Threading.Tasks.Task GetClusterMetricsExportAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMetricsExportWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMetricsExport Retrieve metrics of the cluster. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsExport200Response) public async System.Threading.Tasks.Task> GetClusterMetricsExportWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetricsExport"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/metrics/export", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetricsExport", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetricsServer List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServer200Response public GetClusterMetricsServer200Response GetClusterMetricsServer(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMetricsServerWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterMetricsServer List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServer200Response public ProxmoxSharp.Client.ApiResponse GetClusterMetricsServerWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetricsServer"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/metrics/server", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetricsServer", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetricsServer List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServer200Response public async System.Threading.Tasks.Task GetClusterMetricsServerAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMetricsServerWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMetricsServer List configured metric servers. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServer200Response) public async System.Threading.Tasks.Task> GetClusterMetricsServerWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetricsServer"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/metrics/server", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetricsServer", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetricsServerSingle Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterMetricsServerSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterMetricsServerSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterMetricsServerSingle Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterMetricsServerSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterMetricsServerSingle Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterMetricsServerSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterMetricsServerSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterMetricsServerSingle Read metric server configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterMetricsServerSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNextid Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNextid200Response public GetClusterNextid200Response GetClusterNextid(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNextidWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNextid Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNextid200Response public ProxmoxSharp.Client.ApiResponse GetClusterNextidWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNextid"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/nextid", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNextid", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNextid Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNextid200Response public async System.Threading.Tasks.Task GetClusterNextidAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNextidWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNextid Get next free VMID. Pass a VMID to assert that its free (at time of check). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNextid200Response) public async System.Threading.Tasks.Task> GetClusterNextidWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNextid"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/nextid", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNextid", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotifications Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterNotifications(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotifications Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotifications"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotifications", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotifications Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterNotificationsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotifications Index for notification-related API endpoints. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotifications"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotifications", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpoints Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterNotificationsEndpoints(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsEndpoints Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpoints"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpoints", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpoints Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpoints Index for all available endpoint types. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpoints"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpoints", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsGotify Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsGotify200Response public GetClusterNotificationsEndpointsGotify200Response GetClusterNotificationsEndpointsGotify(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsGotifyWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsGotify Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsGotify200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsGotifyWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsGotify"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/gotify", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsGotify", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsGotify Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsGotify200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsGotifyAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsGotifyWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsGotify Returns a list of all gotify endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsGotify200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsGotifyWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsGotify"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/gotify", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsGotify", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsGotifySingle Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsGotifySingle200Response public GetClusterNotificationsEndpointsGotifySingle200Response GetClusterNotificationsEndpointsGotifySingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsGotifySingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsGotifySingle Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsGotifySingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsGotifySingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsGotifySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsGotifySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/gotify/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsGotifySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsGotifySingle Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsGotifySingle200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsGotifySingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsGotifySingle Return a specific gotify endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsGotifySingle200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsGotifySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsGotifySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/gotify/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsGotifySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSendmail Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsSendmail200Response public GetClusterNotificationsEndpointsSendmail200Response GetClusterNotificationsEndpointsSendmail(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsSendmailWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSendmail Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSendmail200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsSendmailWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSendmail"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/sendmail", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSendmail", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSendmail Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSendmail200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsSendmailAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsSendmailWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSendmail Returns a list of all sendmail endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSendmail200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSendmailWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSendmail"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/sendmail", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSendmail", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSendmailSingle Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsSendmailSingle200Response public GetClusterNotificationsEndpointsSendmailSingle200Response GetClusterNotificationsEndpointsSendmailSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsSendmailSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSendmailSingle Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSendmailSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsSendmailSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsSendmailSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSendmailSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/sendmail/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSendmailSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSendmailSingle Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSendmailSingle200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsSendmailSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSendmailSingle Return a specific sendmail endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSendmailSingle200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsSendmailSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSendmailSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/sendmail/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSendmailSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSmtp Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsSmtp200Response public GetClusterNotificationsEndpointsSmtp200Response GetClusterNotificationsEndpointsSmtp(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsSmtpWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSmtp Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSmtp200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsSmtpWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSmtp"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/smtp", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSmtp", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSmtp Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSmtp200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsSmtpAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsSmtpWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSmtp Returns a list of all smtp endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSmtp200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSmtpWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSmtp"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/smtp", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSmtp", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSmtpSingle Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsSmtpSingle200Response public GetClusterNotificationsEndpointsSmtpSingle200Response GetClusterNotificationsEndpointsSmtpSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsSmtpSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSmtpSingle Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsSmtpSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsSmtpSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsSmtpSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSmtpSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/smtp/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSmtpSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsSmtpSingle Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsSmtpSingle200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsSmtpSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsSmtpSingle Return a specific smtp endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsSmtpSingle200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsSmtpSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsSmtpSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/smtp/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsSmtpSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsWebhook Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsEndpointsWebhook200Response public GetClusterNotificationsEndpointsWebhook200Response GetClusterNotificationsEndpointsWebhook(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsWebhookWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsWebhook Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsWebhook200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsWebhookWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsWebhook"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/webhook", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsWebhook", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsWebhook Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsWebhook200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsWebhookAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsWebhookWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsWebhook Returns a list of all webhook endpoints /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsWebhook200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsWebhookWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsWebhook"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/webhook", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsWebhook", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsWebhookSingle Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsEndpointsWebhookSingle200Response public GetClusterNotificationsEndpointsWebhookSingle200Response GetClusterNotificationsEndpointsWebhookSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsEndpointsWebhookSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsWebhookSingle Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsEndpointsWebhookSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsEndpointsWebhookSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsWebhookSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsWebhookSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/endpoints/webhook/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsWebhookSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsEndpointsWebhookSingle Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsEndpointsWebhookSingle200Response public async System.Threading.Tasks.Task GetClusterNotificationsEndpointsWebhookSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsEndpointsWebhookSingle Return a specific webhook endpoint /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsEndpointsWebhookSingle200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsEndpointsWebhookSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsEndpointsWebhookSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/endpoints/webhook/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsEndpointsWebhookSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatcherfields Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsMatcherfields200Response public GetClusterNotificationsMatcherfields200Response GetClusterNotificationsMatcherfields(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsMatcherfieldsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsMatcherfields Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatcherfields200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsMatcherfieldsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatcherfields"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/matcher-fields", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatcherfields", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatcherfields Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatcherfields200Response public async System.Threading.Tasks.Task GetClusterNotificationsMatcherfieldsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsMatcherfieldsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsMatcherfields Returns known notification metadata fields /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatcherfields200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsMatcherfieldsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatcherfields"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/matcher-fields", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatcherfields", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatcherfieldvalues Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsMatcherfieldvalues200Response public GetClusterNotificationsMatcherfieldvalues200Response GetClusterNotificationsMatcherfieldvalues(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsMatcherfieldvaluesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsMatcherfieldvalues Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatcherfieldvalues200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsMatcherfieldvaluesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatcherfieldvalues"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/matcher-field-values", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatcherfieldvalues", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatcherfieldvalues Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatcherfieldvalues200Response public async System.Threading.Tasks.Task GetClusterNotificationsMatcherfieldvaluesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsMatcherfieldvaluesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsMatcherfieldvalues Returns known notification metadata fields and their known values /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatcherfieldvalues200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsMatcherfieldvaluesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatcherfieldvalues"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/matcher-field-values", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatcherfieldvalues", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatchers Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsMatchers200Response public GetClusterNotificationsMatchers200Response GetClusterNotificationsMatchers(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsMatchersWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsMatchers Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatchers200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsMatchersWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatchers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/matchers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatchers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatchers Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatchers200Response public async System.Threading.Tasks.Task GetClusterNotificationsMatchersAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsMatchersWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsMatchers Returns a list of all matchers /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatchers200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsMatchersWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatchers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/matchers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatchers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatchersSingle Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// GetClusterNotificationsMatchersSingle200Response public GetClusterNotificationsMatchersSingle200Response GetClusterNotificationsMatchersSingle(string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsMatchersSingleWithHttpInfo(name); return localVarResponse.Data; } /// /// getClusterNotificationsMatchersSingle Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsMatchersSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsMatchersSingleWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsMatchersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatchersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/matchers/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatchersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsMatchersSingle Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsMatchersSingle200Response public async System.Threading.Tasks.Task GetClusterNotificationsMatchersSingleAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsMatchersSingleWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsMatchersSingle Return a specific matcher /// /// Thrown when fails to make API call /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsMatchersSingle200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsMatchersSingleWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetClusterNotificationsMatchersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsMatchersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/matchers/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsMatchersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsTargets Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterNotificationsTargets200Response public GetClusterNotificationsTargets200Response GetClusterNotificationsTargets(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterNotificationsTargetsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterNotificationsTargets Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterNotificationsTargets200Response public ProxmoxSharp.Client.ApiResponse GetClusterNotificationsTargetsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsTargets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/notifications/targets", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsTargets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterNotificationsTargets Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterNotificationsTargets200Response public async System.Threading.Tasks.Task GetClusterNotificationsTargetsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterNotificationsTargetsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterNotificationsTargets Returns a list of all entities that can be used as notification targets. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterNotificationsTargets200Response) public async System.Threading.Tasks.Task> GetClusterNotificationsTargetsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterNotificationsTargets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/notifications/targets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterNotificationsTargets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterOptions Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterOptions(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterOptionsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterOptions Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterOptionsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterOptions Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterOptionsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterOptionsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterOptions Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterReplication List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterReplication200Response public GetClusterReplication200Response GetClusterReplication(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterReplicationWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterReplication List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetClusterReplicationWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterReplication"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/replication", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterReplication", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterReplication List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterReplication200Response public async System.Threading.Tasks.Task GetClusterReplicationAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterReplicationWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterReplication List replication jobs. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterReplication200Response) public async System.Threading.Tasks.Task> GetClusterReplicationWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterReplication"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/replication", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterReplication", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterReplicationSingle Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterReplicationSingle200Response public GetClusterReplicationSingle200Response GetClusterReplicationSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterReplicationSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterReplicationSingle Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterReplicationSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterReplicationSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/replication/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterReplicationSingle Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterReplicationSingle200Response public async System.Threading.Tasks.Task GetClusterReplicationSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterReplicationSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterReplicationSingle Read replication job configuration. /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterReplicationSingle200Response) public async System.Threading.Tasks.Task> GetClusterReplicationSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/replication/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterResources Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterResources200Response public GetClusterResources200Response GetClusterResources(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterResourcesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterResources Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterResources200Response public ProxmoxSharp.Client.ApiResponse GetClusterResourcesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterResources"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/resources", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterResources", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterResources Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterResources200Response public async System.Threading.Tasks.Task GetClusterResourcesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterResourcesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterResources Resources index (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterResources200Response) public async System.Threading.Tasks.Task> GetClusterResourcesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterResources"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterResources", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDN Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterHa200Response public GetClusterHa200Response GetClusterSDN(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSDN Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDN"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDN", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDN Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response public async System.Threading.Tasks.Task GetClusterSDNAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDN Directory index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) public async System.Threading.Tasks.Task> GetClusterSDNWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDN"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDN", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNController Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetClusterSDNController(string controller, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNControllerWithHttpInfo(controller); return localVarResponse.Data; } /// /// getClusterSDNController Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNControllerWithHttpInfo(string controller, int operationIndex = 0) { // verify the required parameter 'controller' is set if (controller == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'controller' when calling ProxmoxGeneratedApi->GetClusterSDNController"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("controller", ProxmoxSharp.Client.ClientUtils.ParameterToString(controller)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/controllers/{controller}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNController Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetClusterSDNControllerAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNControllerWithHttpInfoAsync(controller, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDNController Read sdn controller configuration. /// /// Thrown when fails to make API call /// controller /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetClusterSDNControllerWithHttpInfoAsync(string controller, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'controller' is set if (controller == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'controller' when calling ProxmoxGeneratedApi->GetClusterSDNController"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("controller", ProxmoxSharp.Client.ClientUtils.ParameterToString(controller)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/controllers/{controller}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNControllers SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSDNControllers200Response public GetClusterSDNControllers200Response GetClusterSDNControllers(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNControllersWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSDNControllers SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSDNControllers200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNControllersWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNControllers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/controllers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNControllers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNControllers SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSDNControllers200Response public async System.Threading.Tasks.Task GetClusterSDNControllersAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNControllersWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDNControllers SDN controllers index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSDNControllers200Response) public async System.Threading.Tasks.Task> GetClusterSDNControllersWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNControllers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/controllers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNControllers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNVnet Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetClusterSDNVnet(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNVnetWithHttpInfo(vnet); return localVarResponse.Data; } /// /// getClusterSDNVnet Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNVnetWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSDNVnet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNVnet Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetClusterSDNVnetAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNVnetWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDNVnet Read sdn vnet configuration. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetClusterSDNVnetWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSDNVnet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNVnets SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSDNVnets200Response public GetClusterSDNVnets200Response GetClusterSDNVnets(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNVnetsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSDNVnets SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSDNVnets200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNVnetsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNVnets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNVnets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNVnets SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSDNVnets200Response public async System.Threading.Tasks.Task GetClusterSDNVnetsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNVnetsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDNVnets SDN vnets index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSDNVnets200Response) public async System.Threading.Tasks.Task> GetClusterSDNVnetsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNVnets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNVnets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNZone Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetClusterSDNZone(string zone, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNZoneWithHttpInfo(zone); return localVarResponse.Data; } /// /// getClusterSDNZone Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNZoneWithHttpInfo(string zone, int operationIndex = 0) { // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetClusterSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/zones/{zone}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNZone Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetClusterSDNZoneAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNZoneWithHttpInfoAsync(zone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDNZone Read sdn zone configuration. /// /// Thrown when fails to make API call /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetClusterSDNZoneWithHttpInfoAsync(string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetClusterSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/zones/{zone}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNZones SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSDNZones200Response public GetClusterSDNZones200Response GetClusterSDNZones(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSDNZonesWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSDNZones SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSDNZones200Response public ProxmoxSharp.Client.ApiResponse GetClusterSDNZonesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNZones"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/zones", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNZones", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSDNZones SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSDNZones200Response public async System.Threading.Tasks.Task GetClusterSDNZonesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSDNZonesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSDNZones SDN zones index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSDNZones200Response) public async System.Threading.Tasks.Task> GetClusterSDNZonesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSDNZones"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/zones", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSDNZones", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnDns SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnDns200Response public GetClusterSdnDns200Response GetClusterSdnDns(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnDnsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSdnDns SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnDns200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnDnsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/dns", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnDns SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnDns200Response public async System.Threading.Tasks.Task GetClusterSdnDnsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnDnsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnDns SDN dns index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnDns200Response) public async System.Threading.Tasks.Task> GetClusterSdnDnsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/dns", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnDnsSingle Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterSdnDnsSingle(string dns, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnDnsSingleWithHttpInfo(dns); return localVarResponse.Data; } /// /// getClusterSdnDnsSingle Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnDnsSingleWithHttpInfo(string dns, int operationIndex = 0) { // verify the required parameter 'dns' is set if (dns == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'dns' when calling ProxmoxGeneratedApi->GetClusterSdnDnsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("dns", ProxmoxSharp.Client.ClientUtils.ParameterToString(dns)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnDnsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/dns/{dns}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnDnsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnDnsSingle Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterSdnDnsSingleAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnDnsSingleWithHttpInfoAsync(dns, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnDnsSingle Read sdn dns configuration. /// /// Thrown when fails to make API call /// dns /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterSdnDnsSingleWithHttpInfoAsync(string dns, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'dns' is set if (dns == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'dns' when calling ProxmoxGeneratedApi->GetClusterSdnDnsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("dns", ProxmoxSharp.Client.ClientUtils.ParameterToString(dns)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnDnsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/dns/{dns}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnDnsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabrics SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetClusterSdnFabrics(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSdnFabrics SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabrics"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabrics", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabrics SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabrics SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabrics"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabrics", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsAll SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabricsAll200Response public GetClusterSdnFabricsAll200Response GetClusterSdnFabricsAll(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsAllWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSdnFabricsAll SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsAll200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsAllWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsAll"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsAll", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsAll SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsAll200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsAllAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsAllWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabricsAll SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsAll200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsAllWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsAll"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsAll", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsFabric SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabricsFabric200Response public GetClusterSdnFabricsFabric200Response GetClusterSdnFabricsFabric(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsFabricWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSdnFabricsFabric SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsFabric200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsFabricWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsFabric"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics/fabric", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsFabric", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsFabric SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsFabric200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsFabricAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsFabricWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabricsFabric SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsFabric200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsFabricWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsFabric"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics/fabric", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsFabric", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// GetClusterSdnFabricsFabricSingle200Response public GetClusterSdnFabricsFabricSingle200Response GetClusterSdnFabricsFabricSingle(string id, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsFabricSingleWithHttpInfo(id); return localVarResponse.Data; } /// /// getClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsFabricSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsFabricSingleWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsFabricSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsFabricSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics/fabric/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsFabricSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsFabricSingle200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsFabricSingleAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsFabricSingleWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsFabricSingle200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsFabricSingleWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsFabricSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsFabricSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics/fabric/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsFabricSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsNode SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnFabricsNode200Response public GetClusterSdnFabricsNode200Response GetClusterSdnFabricsNode(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsNodeWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSdnFabricsNode SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsNode200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsNodeWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsNode"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics/node", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsNode", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsNode SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsNode200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsNodeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsNodeWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabricsNode SDN Fabrics Index /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsNode200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsNodeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsNode"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics/node", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsNode", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsNodeSingle SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// GetClusterSdnFabricsNode200Response public GetClusterSdnFabricsNode200Response GetClusterSdnFabricsNodeSingle(string fabricId, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsNodeSingleWithHttpInfo(fabricId); return localVarResponse.Data; } /// /// getClusterSdnFabricsNodeSingle SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabricsNode200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsNodeSingleWithHttpInfo(string fabricId, int operationIndex = 0) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsNodeSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsNodeSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics/node/{fabric_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsNodeSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsNodeSingle SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabricsNode200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsNodeSingleAsync(string fabricId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsNodeSingleWithHttpInfoAsync(fabricId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabricsNodeSingle SDN Fabrics Index /// /// Thrown when fails to make API call /// fabric_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabricsNode200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsNodeSingleWithHttpInfoAsync(string fabricId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsNodeSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsNodeSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics/node/{fabric_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsNodeSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsNodeSingleSingle Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetClusterSdnFabricsNodeSingleSingle(string fabricId, string nodeId, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnFabricsNodeSingleSingleWithHttpInfo(fabricId, nodeId); return localVarResponse.Data; } /// /// getClusterSdnFabricsNodeSingleSingle Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnFabricsNodeSingleSingleWithHttpInfo(string fabricId, string nodeId, int operationIndex = 0) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsNodeSingleSingle"); } // verify the required parameter 'nodeId' is set if (nodeId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'nodeId' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsNodeSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.PathParameters.Add("node_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(nodeId)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsNodeSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/fabrics/node/{fabric_id}/{node_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsNodeSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnFabricsNodeSingleSingle Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetClusterSdnFabricsNodeSingleSingleAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(fabricId, nodeId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnFabricsNodeSingleSingle Get a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(string fabricId, string nodeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsNodeSingleSingle"); } // verify the required parameter 'nodeId' is set if (nodeId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'nodeId' when calling ProxmoxGeneratedApi->GetClusterSdnFabricsNodeSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.PathParameters.Add("node_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(nodeId)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnFabricsNodeSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/fabrics/node/{fabric_id}/{node_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnFabricsNodeSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnIpams SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterSdnIpams200Response public GetClusterSdnIpams200Response GetClusterSdnIpams(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnIpamsWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterSdnIpams SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterSdnIpams200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnIpamsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnIpams"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/ipams", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnIpams", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnIpams SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnIpams200Response public async System.Threading.Tasks.Task GetClusterSdnIpamsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnIpamsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnIpams SDN ipams index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnIpams200Response) public async System.Threading.Tasks.Task> GetClusterSdnIpamsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnIpams"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/ipams", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnIpams", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnIpamsSingle Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterSdnIpamsSingle(string ipam, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnIpamsSingleWithHttpInfo(ipam); return localVarResponse.Data; } /// /// getClusterSdnIpamsSingle Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnIpamsSingleWithHttpInfo(string ipam, int operationIndex = 0) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->GetClusterSdnIpamsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnIpamsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/ipams/{ipam}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnIpamsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnIpamsSingle Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterSdnIpamsSingleAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnIpamsSingleWithHttpInfoAsync(ipam, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnIpamsSingle Read sdn ipam configuration. /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterSdnIpamsSingleWithHttpInfoAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->GetClusterSdnIpamsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnIpamsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/ipams/{ipam}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnIpamsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnIpamsSingleStatus List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// GetClusterSdnIpamsSingleStatus200Response public GetClusterSdnIpamsSingleStatus200Response GetClusterSdnIpamsSingleStatus(string ipam, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnIpamsSingleStatusWithHttpInfo(ipam); return localVarResponse.Data; } /// /// getClusterSdnIpamsSingleStatus List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// ApiResponse of GetClusterSdnIpamsSingleStatus200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnIpamsSingleStatusWithHttpInfo(string ipam, int operationIndex = 0) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->GetClusterSdnIpamsSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnIpamsSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/ipams/{ipam}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnIpamsSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnIpamsSingleStatus List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnIpamsSingleStatus200Response public async System.Threading.Tasks.Task GetClusterSdnIpamsSingleStatusAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnIpamsSingleStatusWithHttpInfoAsync(ipam, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnIpamsSingleStatus List PVE IPAM Entries /// /// Thrown when fails to make API call /// ipam /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnIpamsSingleStatus200Response) public async System.Threading.Tasks.Task> GetClusterSdnIpamsSingleStatusWithHttpInfoAsync(string ipam, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->GetClusterSdnIpamsSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnIpamsSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/ipams/{ipam}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnIpamsSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewall Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterSdnVnetsSingleFirewall(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnVnetsSingleFirewallWithHttpInfo(vnet); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewall Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnVnetsSingleFirewallWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}/firewall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewall Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnVnetsSingleFirewallWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewall Directory index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}/firewall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewallOptions Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetClusterSdnVnetsSingleFirewallOptions200Response public GetClusterSdnVnetsSingleFirewallOptions200Response GetClusterSdnVnetsSingleFirewallOptions(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnVnetsSingleFirewallOptionsWithHttpInfo(vnet); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewallOptions Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterSdnVnetsSingleFirewallOptions200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnVnetsSingleFirewallOptionsWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewallOptions Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnVnetsSingleFirewallOptions200Response public async System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallOptionsAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnVnetsSingleFirewallOptionsWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewallOptions Get vnet firewall options. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnVnetsSingleFirewallOptions200Response) public async System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallOptionsWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response public GetClusterFirewallGroupRules200Response GetClusterSdnVnetsSingleFirewallRules(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnVnetsSingleFirewallRulesWithHttpInfo(vnet); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnVnetsSingleFirewallRulesWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response public async System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallRulesAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnVnetsSingleFirewallRulesWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) public async System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallRulesWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response public GetClusterFirewallGroupRule200Response GetClusterSdnVnetsSingleFirewallRulesSingle(int pos, string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(pos, vnet); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(int pos, string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response public async System.Threading.Tasks.Task GetClusterSdnVnetsSingleFirewallRulesSingleAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(pos, vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) public async System.Threading.Tasks.Task> GetClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(int pos, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleSubnets SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetClusterSdnVnetsSingleSubnets(string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnVnetsSingleSubnetsWithHttpInfo(vnet); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleSubnets SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnVnetsSingleSubnetsWithHttpInfo(string vnet, int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleSubnets"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleSubnets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}/subnets", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleSubnets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleSubnets SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetClusterSdnVnetsSingleSubnetsAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnVnetsSingleSubnetsWithHttpInfoAsync(vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleSubnets SDN subnets index. /// /// Thrown when fails to make API call /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetClusterSdnVnetsSingleSubnetsWithHttpInfoAsync(string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleSubnets"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleSubnets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}/subnets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleSubnets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleSubnetsSingle Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetClusterSdnVnetsSingleSubnetsSingle(string subnet, string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(subnet, vnet); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleSubnetsSingle Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(string subnet, string vnet, int operationIndex = 0) { // verify the required parameter 'subnet' is set if (subnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'subnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleSubnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleSubnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("subnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(subnet)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleSubnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/sdn/vnets/{vnet}/subnets/{subnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleSubnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterSdnVnetsSingleSubnetsSingle Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetClusterSdnVnetsSingleSubnetsSingleAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(subnet, vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterSdnVnetsSingleSubnetsSingle Read sdn subnet configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(string subnet, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'subnet' is set if (subnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'subnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleSubnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetClusterSdnVnetsSingleSubnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("subnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(subnet)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterSdnVnetsSingleSubnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/sdn/vnets/{vnet}/subnets/{subnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterSdnVnetsSingleSubnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterStatus Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterStatus200Response public GetClusterStatus200Response GetClusterStatus(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterStatusWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterStatus Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterStatus200Response public ProxmoxSharp.Client.ApiResponse GetClusterStatusWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterStatus Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterStatus200Response public async System.Threading.Tasks.Task GetClusterStatusAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterStatusWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterStatus Get cluster status information. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterStatus200Response) public async System.Threading.Tasks.Task> GetClusterStatusWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterTasks List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetClusterTasks200Response public GetClusterTasks200Response GetClusterTasks(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetClusterTasksWithHttpInfo(); return localVarResponse.Data; } /// /// getClusterTasks List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetClusterTasks200Response public ProxmoxSharp.Client.ApiResponse GetClusterTasksWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterTasks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/cluster/tasks", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterTasks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getClusterTasks List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterTasks200Response public async System.Threading.Tasks.Task GetClusterTasksAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetClusterTasksWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getClusterTasks List recent tasks (cluster wide). /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterTasks200Response) public async System.Threading.Tasks.Task> GetClusterTasksWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetClusterTasks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/cluster/tasks", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetClusterTasks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getCurrentVMStatus Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCurrentVMStatus200Response public GetCurrentVMStatus200Response GetCurrentVMStatus(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetCurrentVMStatusWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getCurrentVMStatus Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCurrentVMStatus200Response public ProxmoxSharp.Client.ApiResponse GetCurrentVMStatusWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetCurrentVMStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetCurrentVMStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/status/current", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCurrentVMStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getCurrentVMStatus Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCurrentVMStatus200Response public async System.Threading.Tasks.Task GetCurrentVMStatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetCurrentVMStatusWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getCurrentVMStatus Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCurrentVMStatus200Response) public async System.Threading.Tasks.Task> GetCurrentVMStatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetCurrentVMStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetCurrentVMStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/status/current", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCurrentVMStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNode Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNode(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeWithHttpInfo(node); return localVarResponse.Data; } /// /// getNode Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodeWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNode"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNode"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNode", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNode Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodeAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNode Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodeWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNode"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNode"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNode", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewall Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodeFirewall(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeFirewallWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeFirewall Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodeFirewallWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/firewall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewall Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodeFirewallAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeFirewallWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeFirewall Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodeFirewallWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/firewall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewallOptions Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodeFirewallOptions200Response public GetNodeFirewallOptions200Response GetNodeFirewallOptions(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeFirewallOptionsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeFirewallOptions Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodeFirewallOptions200Response public ProxmoxSharp.Client.ApiResponse GetNodeFirewallOptionsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewallOptions Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeFirewallOptions200Response public async System.Threading.Tasks.Task GetNodeFirewallOptionsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeFirewallOptionsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeFirewallOptions Get host firewall options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeFirewallOptions200Response) public async System.Threading.Tasks.Task> GetNodeFirewallOptionsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response public GetClusterFirewallGroupRule200Response GetNodeFirewallRule(string node, int pos, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeFirewallRuleWithHttpInfo(node, pos); return localVarResponse.Data; } /// /// getNodeFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response public ProxmoxSharp.Client.ApiResponse GetNodeFirewallRuleWithHttpInfo(string node, int pos, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response public async System.Threading.Tasks.Task GetNodeFirewallRuleAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeFirewallRuleWithHttpInfoAsync(node, pos, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) public async System.Threading.Tasks.Task> GetNodeFirewallRuleWithHttpInfoAsync(string node, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response public GetClusterFirewallGroupRules200Response GetNodeFirewallRules(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeFirewallRulesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response public ProxmoxSharp.Client.ApiResponse GetNodeFirewallRulesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response public async System.Threading.Tasks.Task GetNodeFirewallRulesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeFirewallRulesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) public async System.Threading.Tasks.Task> GetNodeFirewallRulesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeRRD Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetVMRRD200Response public GetVMRRD200Response GetNodeRRD(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeRRDWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeRRD Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response public ProxmoxSharp.Client.ApiResponse GetNodeRRDWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeRRD"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeRRD"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/rrd", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeRRD", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeRRD Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response public async System.Threading.Tasks.Task GetNodeRRDAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeRRDWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeRRD Read node RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) public async System.Threading.Tasks.Task> GetNodeRRDWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeRRD"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeRRD"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/rrd", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeRRD", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeRRDData Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodeRRDData(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeRRDDataWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeRRDData Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodeRRDDataWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeRRDData"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeRRDData"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/rrddata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeRRDData", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeRRDData Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodeRRDDataAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeRRDDataWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeRRDData Read node RRD statistics /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodeRRDDataWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeRRDData"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeRRDData"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/rrddata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeRRDData", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDN SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodeSDN(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeSDNWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeSDN SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodeSDNWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDN"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDN"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDN", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDN SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodeSDNAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeSDNWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeSDN SDN index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodeSDNWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDN"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDN"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDN", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDNZone Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodeSDNZone(string node, string zone, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeSDNZoneWithHttpInfo(node, zone); return localVarResponse.Data; } /// /// getNodeSDNZone Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodeSDNZoneWithHttpInfo(string node, string zone, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDNZone"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodeSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/zones/{zone}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDNZone Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodeSDNZoneAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeSDNZoneWithHttpInfoAsync(node, zone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeSDNZone Directory index for SDN zone status. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodeSDNZoneWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDNZone"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodeSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/zones/{zone}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDNZoneContent List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetNodeSDNZoneContent200Response public GetNodeSDNZoneContent200Response GetNodeSDNZoneContent(string node, string zone, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeSDNZoneContentWithHttpInfo(node, zone); return localVarResponse.Data; } /// /// getNodeSDNZoneContent List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetNodeSDNZoneContent200Response public ProxmoxSharp.Client.ApiResponse GetNodeSDNZoneContentWithHttpInfo(string node, string zone, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDNZoneContent"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodeSDNZoneContent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDNZoneContent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/zones/{zone}/content", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDNZoneContent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDNZoneContent List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeSDNZoneContent200Response public async System.Threading.Tasks.Task GetNodeSDNZoneContentAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeSDNZoneContentWithHttpInfoAsync(node, zone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeSDNZoneContent List zone content. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeSDNZoneContent200Response) public async System.Threading.Tasks.Task> GetNodeSDNZoneContentWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDNZoneContent"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodeSDNZoneContent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDNZoneContent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/zones/{zone}/content", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDNZoneContent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDNZones Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodeSDNZones200Response public GetNodeSDNZones200Response GetNodeSDNZones(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeSDNZonesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeSDNZones Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodeSDNZones200Response public ProxmoxSharp.Client.ApiResponse GetNodeSDNZonesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDNZones"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDNZones"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/zones", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDNZones", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeSDNZones Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeSDNZones200Response public async System.Threading.Tasks.Task GetNodeSDNZonesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeSDNZonesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeSDNZones Get status for all zones. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeSDNZones200Response) public async System.Threading.Tasks.Task> GetNodeSDNZonesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeSDNZones"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeSDNZones"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/zones", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeSDNZones", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTask getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodeTask(string node, string upid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeTaskWithHttpInfo(node, upid); return localVarResponse.Data; } /// /// getNodeTask getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodeTaskWithHttpInfo(string node, string upid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTask"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->GetNodeTask"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTask"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/tasks/{upid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTask", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTask getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodeTaskAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeTaskWithHttpInfoAsync(node, upid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeTask getNodeTask /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodeTaskWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTask"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->GetNodeTask"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTask"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/tasks/{upid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTask", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTaskLog Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodeTaskLog(string node, string upid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeTaskLogWithHttpInfo(node, upid); return localVarResponse.Data; } /// /// getNodeTaskLog Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodeTaskLogWithHttpInfo(string node, string upid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTaskLog"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->GetNodeTaskLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTaskLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/tasks/{upid}/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTaskLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTaskLog Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodeTaskLogAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeTaskLogWithHttpInfoAsync(node, upid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeTaskLog Read task log. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodeTaskLogWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTaskLog"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->GetNodeTaskLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTaskLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/tasks/{upid}/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTaskLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTaskStatus Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// GetNodeTaskStatus200Response public GetNodeTaskStatus200Response GetNodeTaskStatus(string node, string upid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeTaskStatusWithHttpInfo(node, upid); return localVarResponse.Data; } /// /// getNodeTaskStatus Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of GetNodeTaskStatus200Response public ProxmoxSharp.Client.ApiResponse GetNodeTaskStatusWithHttpInfo(string node, string upid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTaskStatus"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->GetNodeTaskStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTaskStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/tasks/{upid}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTaskStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTaskStatus Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeTaskStatus200Response public async System.Threading.Tasks.Task GetNodeTaskStatusAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeTaskStatusWithHttpInfoAsync(node, upid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeTaskStatus Read task status. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeTaskStatus200Response) public async System.Threading.Tasks.Task> GetNodeTaskStatusWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTaskStatus"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->GetNodeTaskStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTaskStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/tasks/{upid}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTaskStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTasks Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodeTasks200Response public GetNodeTasks200Response GetNodeTasks(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodeTasksWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodeTasks Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodeTasks200Response public ProxmoxSharp.Client.ApiResponse GetNodeTasksWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTasks"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTasks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/tasks", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTasks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodeTasks Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodeTasks200Response public async System.Threading.Tasks.Task GetNodeTasksAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodeTasksWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodeTasks Read task list for one node (finished tasks). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodeTasks200Response) public async System.Threading.Tasks.Task> GetNodeTasksWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodeTasks"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodeTasks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/tasks", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodeTasks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodes Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetNodes200Response public GetNodes200Response GetNodes(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesWithHttpInfo(); return localVarResponse.Data; } /// /// getNodes Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetNodes200Response public ProxmoxSharp.Client.ApiResponse GetNodesWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodes Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodes200Response public async System.Threading.Tasks.Task GetNodesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodes Cluster node index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodes200Response) public async System.Threading.Tasks.Task> GetNodesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAplinfo Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleAplinfo(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleAplinfoWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleAplinfo Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleAplinfoWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAplinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAplinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/aplinfo", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAplinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAplinfo Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleAplinfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleAplinfoWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleAplinfo Get list of appliances. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleAplinfoWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAplinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAplinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/aplinfo", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAplinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleApt Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterHa200Response public GetClusterHa200Response GetNodesSingleApt(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleAptWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleApt Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleAptWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleApt"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleApt"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/apt", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleApt", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleApt Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response public async System.Threading.Tasks.Task GetNodesSingleAptAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleAptWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleApt Directory index for apt (Advanced Package Tool). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) public async System.Threading.Tasks.Task> GetNodesSingleAptWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleApt"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleApt"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/apt", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleApt", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptChangelog Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetNodesSingleAptChangelog(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleAptChangelogWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleAptChangelog Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleAptChangelogWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptChangelog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptChangelog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/apt/changelog", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptChangelog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptChangelog Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetNodesSingleAptChangelogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleAptChangelogWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleAptChangelog Get package changelogs. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetNodesSingleAptChangelogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptChangelog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptChangelog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/apt/changelog", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptChangelog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptRepositories Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleAptRepositories200Response public GetNodesSingleAptRepositories200Response GetNodesSingleAptRepositories(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleAptRepositoriesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleAptRepositories Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleAptRepositories200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleAptRepositoriesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptRepositories"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptRepositories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/apt/repositories", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptRepositories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptRepositories Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleAptRepositories200Response public async System.Threading.Tasks.Task GetNodesSingleAptRepositoriesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleAptRepositoriesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleAptRepositories Get APT repository information. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleAptRepositories200Response) public async System.Threading.Tasks.Task> GetNodesSingleAptRepositoriesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptRepositories"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptRepositories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/apt/repositories", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptRepositories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptUpdate List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleAptUpdate200Response public GetNodesSingleAptUpdate200Response GetNodesSingleAptUpdate(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleAptUpdateWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleAptUpdate List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleAptUpdate200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleAptUpdateWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptUpdate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptUpdate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/apt/update", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptUpdate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptUpdate List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleAptUpdate200Response public async System.Threading.Tasks.Task GetNodesSingleAptUpdateAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleAptUpdateWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleAptUpdate List available updates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleAptUpdate200Response) public async System.Threading.Tasks.Task> GetNodesSingleAptUpdateWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptUpdate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptUpdate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/apt/update", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptUpdate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptVersions Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleAptVersions200Response public GetNodesSingleAptVersions200Response GetNodesSingleAptVersions(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleAptVersionsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleAptVersions Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleAptVersions200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleAptVersionsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptVersions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptVersions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/apt/versions", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptVersions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleAptVersions Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleAptVersions200Response public async System.Threading.Tasks.Task GetNodesSingleAptVersionsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleAptVersionsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleAptVersions Get package information for important Proxmox packages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleAptVersions200Response) public async System.Threading.Tasks.Task> GetNodesSingleAptVersionsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleAptVersions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleAptVersions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/apt/versions", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleAptVersions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilities Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCapabilities(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCapabilitiesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCapabilities Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCapabilitiesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilities"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilities"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/capabilities", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilities", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilities Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCapabilitiesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCapabilitiesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCapabilities Node capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCapabilitiesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilities"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilities"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/capabilities", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilities", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemu QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCapabilitiesQemu(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCapabilitiesQemuWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemu QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCapabilitiesQemuWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemu"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemu"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/capabilities/qemu", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemu", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemu QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCapabilitiesQemuWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemu QEMU capabilities index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemu"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemu"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/capabilities/qemu", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemu", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuCpu List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuCpu200Response public GetNodesSingleCapabilitiesQemuCpu200Response GetNodesSingleCapabilitiesQemuCpu(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCapabilitiesQemuCpuWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuCpu List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuCpu200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCapabilitiesQemuCpuWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuCpu"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuCpu"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/capabilities/qemu/cpu", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuCpu", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuCpu List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuCpu200Response public async System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuCpuAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCapabilitiesQemuCpuWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuCpu List all custom and default CPU models. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuCpu200Response) public async System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuCpuWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuCpu"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuCpu"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/capabilities/qemu/cpu", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuCpu", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuCpuflags List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuCpuflags200Response public GetNodesSingleCapabilitiesQemuCpuflags200Response GetNodesSingleCapabilitiesQemuCpuflags(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCapabilitiesQemuCpuflagsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuCpuflags List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuCpuflags200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCapabilitiesQemuCpuflagsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuCpuflags"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuCpuflags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/capabilities/qemu/cpu-flags", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuCpuflags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuCpuflags List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuCpuflags200Response public async System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuCpuflagsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCapabilitiesQemuCpuflagsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuCpuflags List of available VM-specific CPU flags. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuCpuflags200Response) public async System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuCpuflagsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuCpuflags"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuCpuflags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/capabilities/qemu/cpu-flags", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuCpuflags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuMachines Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuMachines200Response public GetNodesSingleCapabilitiesQemuMachines200Response GetNodesSingleCapabilitiesQemuMachines(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCapabilitiesQemuMachinesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuMachines Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuMachines200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCapabilitiesQemuMachinesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuMachines"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuMachines"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/capabilities/qemu/machines", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuMachines", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuMachines Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuMachines200Response public async System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuMachinesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCapabilitiesQemuMachinesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuMachines Get available QEMU/KVM machine types. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuMachines200Response) public async System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuMachinesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuMachines"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuMachines"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/capabilities/qemu/machines", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuMachines", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuMigration Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCapabilitiesQemuMigration200Response public GetNodesSingleCapabilitiesQemuMigration200Response GetNodesSingleCapabilitiesQemuMigration(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCapabilitiesQemuMigrationWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuMigration Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCapabilitiesQemuMigration200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCapabilitiesQemuMigrationWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuMigration"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuMigration"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/capabilities/qemu/migration", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuMigration", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCapabilitiesQemuMigration Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCapabilitiesQemuMigration200Response public async System.Threading.Tasks.Task GetNodesSingleCapabilitiesQemuMigrationAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCapabilitiesQemuMigrationWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCapabilitiesQemuMigration Get node-specific QEMU migration capabilities of the node. Requires the 'Sys.Audit' permission on '/nodes/<node>'. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCapabilitiesQemuMigration200Response) public async System.Threading.Tasks.Task> GetNodesSingleCapabilitiesQemuMigrationWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCapabilitiesQemuMigration"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCapabilitiesQemuMigration"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/capabilities/qemu/migration", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCapabilitiesQemuMigration", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCeph Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCeph(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCeph Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCeph"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCeph"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCeph", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCeph Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCephAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCeph Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCeph"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCeph"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCeph", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfg Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCephCfg(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephCfgWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephCfg Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephCfgWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfg"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfg"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/cfg", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfg", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfg Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCephCfgAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephCfgWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephCfg Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephCfgWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfg"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfg"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/cfg", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfg", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfgDb Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephCfgDb200Response public GetNodesSingleCephCfgDb200Response GetNodesSingleCephCfgDb(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephCfgDbWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephCfgDb Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephCfgDb200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephCfgDbWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfgDb"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfgDb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/cfg/db", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfgDb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfgDb Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephCfgDb200Response public async System.Threading.Tasks.Task GetNodesSingleCephCfgDbAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephCfgDbWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephCfgDb Get the Ceph configuration database. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephCfgDb200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephCfgDbWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfgDb"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfgDb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/cfg/db", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfgDb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfgRaw Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetNodesSingleCephCfgRaw(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephCfgRawWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephCfgRaw Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephCfgRawWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfgRaw"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfgRaw"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/cfg/raw", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfgRaw", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfgRaw Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetNodesSingleCephCfgRawAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephCfgRawWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephCfgRaw Get the Ceph configuration file. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephCfgRawWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfgRaw"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfgRaw"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/cfg/raw", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfgRaw", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfgValue Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephCfgValue200Response public GetNodesSingleCephCfgValue200Response GetNodesSingleCephCfgValue(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephCfgValueWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephCfgValue Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephCfgValue200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephCfgValueWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfgValue"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfgValue"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/cfg/value", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfgValue", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCfgValue Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephCfgValue200Response public async System.Threading.Tasks.Task GetNodesSingleCephCfgValueAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephCfgValueWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephCfgValue Get configured values from either the config file or config DB. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephCfgValue200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephCfgValueWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCfgValue"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCfgValue"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/cfg/value", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCfgValue", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCmdsafety Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephCmdsafety200Response public GetNodesSingleCephCmdsafety200Response GetNodesSingleCephCmdsafety(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephCmdsafetyWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephCmdsafety Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephCmdsafety200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephCmdsafetyWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCmdsafety"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCmdsafety"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/cmd-safety", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCmdsafety", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCmdsafety Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephCmdsafety200Response public async System.Threading.Tasks.Task GetNodesSingleCephCmdsafetyAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephCmdsafetyWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephCmdsafety Heuristical check if it is safe to perform an action. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephCmdsafety200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephCmdsafetyWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCmdsafety"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCmdsafety"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/cmd-safety", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCmdsafety", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCrush Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetNodesSingleCephCrush(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephCrushWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephCrush Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephCrushWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCrush"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCrush"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/crush", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCrush", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephCrush Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetNodesSingleCephCrushAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephCrushWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephCrush Get OSD crush map /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephCrushWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephCrush"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephCrush"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/crush", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephCrush", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephFs Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephFs200Response public GetNodesSingleCephFs200Response GetNodesSingleCephFs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephFsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephFs Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephFs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephFsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephFs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephFs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/fs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephFs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephFs Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephFs200Response public async System.Threading.Tasks.Task GetNodesSingleCephFsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephFsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephFs Directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephFs200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephFsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephFs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephFs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/fs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephFs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephLog Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleCephLog(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephLogWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephLog Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephLogWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephLog Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodesSingleCephLogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephLogWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephLog Read ceph log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephLogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephMds MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephMds200Response public GetNodesSingleCephMds200Response GetNodesSingleCephMds(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephMdsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephMds MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephMds200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephMdsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephMds"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephMds"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/mds", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephMds", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephMds MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephMds200Response public async System.Threading.Tasks.Task GetNodesSingleCephMdsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephMdsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephMds MDS directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephMds200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephMdsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephMds"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephMds"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/mds", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephMds", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephMgr MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephMgr200Response public GetNodesSingleCephMgr200Response GetNodesSingleCephMgr(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephMgrWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephMgr MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephMgr200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephMgrWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephMgr"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephMgr"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/mgr", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephMgr", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephMgr MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephMgr200Response public async System.Threading.Tasks.Task GetNodesSingleCephMgrAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephMgrWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephMgr MGR directory index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephMgr200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephMgrWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephMgr"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephMgr"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/mgr", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephMgr", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephMon Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephMon200Response public GetNodesSingleCephMon200Response GetNodesSingleCephMon(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephMonWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephMon Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephMon200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephMonWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephMon"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephMon"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/mon", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephMon", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephMon Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephMon200Response public async System.Threading.Tasks.Task GetNodesSingleCephMonAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephMonWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephMon Get Ceph monitor list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephMon200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephMonWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephMon"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephMon"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/mon", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephMon", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsd Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleCephOsd(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephOsdWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephOsd Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephOsdWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/osd", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsd Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleCephOsdAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephOsdWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephOsd Get Ceph osd list/tree. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephOsdWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/osd", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsdSingle OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCephOsdSingle(string node, int osdid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephOsdSingleWithHttpInfo(node, osdid); return localVarResponse.Data; } /// /// getNodesSingleCephOsdSingle OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephOsdSingleWithHttpInfo(string node, int osdid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsdSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsdSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/osd/{osdid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsdSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsdSingle OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCephOsdSingleAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephOsdSingleWithHttpInfoAsync(node, osdid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephOsdSingle OSD index. /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephOsdSingleWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsdSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsdSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/osd/{osdid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsdSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsdSingleLvinfo Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// GetNodesSingleCephOsdSingleLvinfo200Response public GetNodesSingleCephOsdSingleLvinfo200Response GetNodesSingleCephOsdSingleLvinfo(string node, int osdid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephOsdSingleLvinfoWithHttpInfo(node, osdid); return localVarResponse.Data; } /// /// getNodesSingleCephOsdSingleLvinfo Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephOsdSingleLvinfo200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephOsdSingleLvinfoWithHttpInfo(string node, int osdid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsdSingleLvinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsdSingleLvinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/osd/{osdid}/lv-info", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsdSingleLvinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsdSingleLvinfo Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephOsdSingleLvinfo200Response public async System.Threading.Tasks.Task GetNodesSingleCephOsdSingleLvinfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephOsdSingleLvinfoWithHttpInfoAsync(node, osdid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephOsdSingleLvinfo Get OSD volume details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephOsdSingleLvinfo200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephOsdSingleLvinfoWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsdSingleLvinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsdSingleLvinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/osd/{osdid}/lv-info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsdSingleLvinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsdSingleMetadata Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// GetNodesSingleCephOsdSingleMetadata200Response public GetNodesSingleCephOsdSingleMetadata200Response GetNodesSingleCephOsdSingleMetadata(string node, int osdid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephOsdSingleMetadataWithHttpInfo(node, osdid); return localVarResponse.Data; } /// /// getNodesSingleCephOsdSingleMetadata Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephOsdSingleMetadata200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephOsdSingleMetadataWithHttpInfo(string node, int osdid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsdSingleMetadata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsdSingleMetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/osd/{osdid}/metadata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsdSingleMetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephOsdSingleMetadata Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephOsdSingleMetadata200Response public async System.Threading.Tasks.Task GetNodesSingleCephOsdSingleMetadataAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephOsdSingleMetadataWithHttpInfoAsync(node, osdid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephOsdSingleMetadata Get OSD details /// /// Thrown when fails to make API call /// node /// osdid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephOsdSingleMetadata200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephOsdSingleMetadataWithHttpInfoAsync(string node, int osdid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephOsdSingleMetadata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("osdid", ProxmoxSharp.Client.ClientUtils.ParameterToString(osdid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephOsdSingleMetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/osd/{osdid}/metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephOsdSingleMetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephPool List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephPool200Response public GetNodesSingleCephPool200Response GetNodesSingleCephPool(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephPoolWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephPool List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephPool200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephPoolWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephPool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephPool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/pool", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephPool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephPool List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephPool200Response public async System.Threading.Tasks.Task GetNodesSingleCephPoolAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephPoolWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephPool List all pools and their settings (which are settable by the POST/PUT endpoints). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephPool200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephPoolWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephPool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephPool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/pool", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephPool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephPoolSingle Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCephPoolSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephPoolSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// getNodesSingleCephPoolSingle Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephPoolSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephPoolSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/pool/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephPoolSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephPoolSingle Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCephPoolSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephPoolSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephPoolSingle Pool index. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephPoolSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephPoolSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/pool/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephPoolSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephPoolSingleStatus Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// GetNodesSingleCephPoolSingleStatus200Response public GetNodesSingleCephPoolSingleStatus200Response GetNodesSingleCephPoolSingleStatus(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephPoolSingleStatusWithHttpInfo(name, node); return localVarResponse.Data; } /// /// getNodesSingleCephPoolSingleStatus Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephPoolSingleStatus200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephPoolSingleStatusWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingleStatus"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephPoolSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/pool/{name}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephPoolSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephPoolSingleStatus Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephPoolSingleStatus200Response public async System.Threading.Tasks.Task GetNodesSingleCephPoolSingleStatusAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephPoolSingleStatusWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephPoolSingleStatus Show the current pool status. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephPoolSingleStatus200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephPoolSingleStatusWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingleStatus"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephPoolSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephPoolSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/pool/{name}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephPoolSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephRules List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCephRules200Response public GetNodesSingleCephRules200Response GetNodesSingleCephRules(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephRulesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephRules List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCephRules200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephRulesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephRules List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCephRules200Response public async System.Threading.Tasks.Task GetNodesSingleCephRulesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephRulesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephRules List ceph rules. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCephRules200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephRulesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephStatus Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleCephStatus(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCephStatusWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCephStatus Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCephStatusWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/ceph/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCephStatus Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleCephStatusAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCephStatusWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCephStatus Get ceph status. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleCephStatusWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCephStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCephStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/ceph/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCephStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCertificates Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCertificates(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCertificatesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCertificates Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCertificatesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCertificates"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCertificates"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/certificates", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCertificates", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCertificates Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCertificatesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCertificatesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCertificates Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCertificatesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCertificates"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCertificates"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/certificates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCertificates", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCertificatesAcme ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleCertificatesAcme(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCertificatesAcmeWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCertificatesAcme ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCertificatesAcmeWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCertificatesAcme"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCertificatesAcme"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/certificates/acme", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCertificatesAcme", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCertificatesAcme ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleCertificatesAcmeAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCertificatesAcmeWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCertificatesAcme ACME index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleCertificatesAcmeWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCertificatesAcme"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCertificatesAcme"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/certificates/acme", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCertificatesAcme", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCertificatesInfo Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleCertificatesInfo200Response public GetNodesSingleCertificatesInfo200Response GetNodesSingleCertificatesInfo(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleCertificatesInfoWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleCertificatesInfo Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleCertificatesInfo200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleCertificatesInfoWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCertificatesInfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCertificatesInfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/certificates/info", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCertificatesInfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleCertificatesInfo Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleCertificatesInfo200Response public async System.Threading.Tasks.Task GetNodesSingleCertificatesInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleCertificatesInfoWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleCertificatesInfo Get information about node's certificates. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleCertificatesInfo200Response) public async System.Threading.Tasks.Task> GetNodesSingleCertificatesInfoWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleCertificatesInfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleCertificatesInfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/certificates/info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleCertificatesInfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleConfig Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleConfig200Response public GetNodesSingleConfig200Response GetNodesSingleConfig(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleConfigWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleConfig Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleConfig200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleConfigWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleConfig Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleConfig200Response public async System.Threading.Tasks.Task GetNodesSingleConfigAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleConfigWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleConfig Get node configuration options. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleConfig200Response) public async System.Threading.Tasks.Task> GetNodesSingleConfigWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisks Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleDisks(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisks Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisks"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisks Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleDisksAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisks Node index. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisks"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksDirectory PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksDirectory200Response public GetNodesSingleDisksDirectory200Response GetNodesSingleDisksDirectory(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksDirectoryWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisksDirectory PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksDirectory200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksDirectoryWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksDirectory"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksDirectory"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/directory", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksDirectory", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksDirectory PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksDirectory200Response public async System.Threading.Tasks.Task GetNodesSingleDisksDirectoryAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksDirectoryWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksDirectory PVE Managed Directory storages. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksDirectory200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksDirectoryWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksDirectory"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksDirectory"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/directory", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksDirectory", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksList List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksList200Response public GetNodesSingleDisksList200Response GetNodesSingleDisksList(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksListWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisksList List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksList200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksListWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksList"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksList"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/list", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksList", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksList List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksList200Response public async System.Threading.Tasks.Task GetNodesSingleDisksListAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksListWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksList List local disks. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksList200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksListWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksList"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksList"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/list", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksList", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksLvm List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksLvm200Response public GetNodesSingleDisksLvm200Response GetNodesSingleDisksLvm(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksLvmWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisksLvm List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksLvm200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksLvmWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksLvm"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksLvm"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/lvm", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksLvm", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksLvm List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksLvm200Response public async System.Threading.Tasks.Task GetNodesSingleDisksLvmAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksLvmWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksLvm List LVM Volume Groups /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksLvm200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksLvmWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksLvm"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksLvm"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/lvm", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksLvm", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksLvmthin List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksLvmthin200Response public GetNodesSingleDisksLvmthin200Response GetNodesSingleDisksLvmthin(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksLvmthinWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisksLvmthin List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksLvmthin200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksLvmthinWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksLvmthin"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksLvmthin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/lvmthin", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksLvmthin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksLvmthin List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksLvmthin200Response public async System.Threading.Tasks.Task GetNodesSingleDisksLvmthinAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksLvmthinWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksLvmthin List LVM thinpools /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksLvmthin200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksLvmthinWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksLvmthin"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksLvmthin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/lvmthin", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksLvmthin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksSmart Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksSmart200Response public GetNodesSingleDisksSmart200Response GetNodesSingleDisksSmart(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksSmartWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisksSmart Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksSmart200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksSmartWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksSmart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksSmart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/smart", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksSmart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksSmart Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksSmart200Response public async System.Threading.Tasks.Task GetNodesSingleDisksSmartAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksSmartWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksSmart Get SMART Health of a disk. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksSmart200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksSmartWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksSmart"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksSmart"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/smart", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksSmart", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksZfs List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDisksZfs200Response public GetNodesSingleDisksZfs200Response GetNodesSingleDisksZfs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksZfsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDisksZfs List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksZfs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksZfsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksZfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksZfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/zfs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksZfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksZfs List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksZfs200Response public async System.Threading.Tasks.Task GetNodesSingleDisksZfsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksZfsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksZfs List Zpools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksZfs200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksZfsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksZfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksZfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/zfs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksZfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksZfsSingle Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// GetNodesSingleDisksZfsSingle200Response public GetNodesSingleDisksZfsSingle200Response GetNodesSingleDisksZfsSingle(string name, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDisksZfsSingleWithHttpInfo(name, node); return localVarResponse.Data; } /// /// getNodesSingleDisksZfsSingle Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDisksZfsSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDisksZfsSingleWithHttpInfo(string name, string node, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleDisksZfsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksZfsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksZfsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/disks/zfs/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksZfsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDisksZfsSingle Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDisksZfsSingle200Response public async System.Threading.Tasks.Task GetNodesSingleDisksZfsSingleAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDisksZfsSingleWithHttpInfoAsync(name, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDisksZfsSingle Get details about a zpool. /// /// Thrown when fails to make API call /// name /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDisksZfsSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleDisksZfsSingleWithHttpInfoAsync(string name, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleDisksZfsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDisksZfsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDisksZfsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/disks/zfs/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDisksZfsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDns Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleDns200Response public GetNodesSingleDns200Response GetNodesSingleDns(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleDnsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleDns Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleDns200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleDnsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDns"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/dns", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleDns Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleDns200Response public async System.Threading.Tasks.Task GetNodesSingleDnsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleDnsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleDns Read DNS settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleDns200Response) public async System.Threading.Tasks.Task> GetNodesSingleDnsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleDns"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/dns", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleFirewallLog(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleFirewallLogWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleFirewallLogWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleFirewallLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleFirewallLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/firewall/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleFirewallLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodesSingleFirewallLogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleFirewallLogWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodesSingleFirewallLogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleFirewallLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleFirewallLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/firewall/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleFirewallLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardware Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHardware200Response public GetNodesSingleHardware200Response GetNodesSingleHardware(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleHardwareWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleHardware Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardware200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleHardwareWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardware"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardware"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/hardware", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardware", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardware Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardware200Response public async System.Threading.Tasks.Task GetNodesSingleHardwareAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleHardwareWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleHardware Index of hardware types /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardware200Response) public async System.Threading.Tasks.Task> GetNodesSingleHardwareWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardware"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardware"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/hardware", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardware", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwarePci List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHardwarePci200Response public GetNodesSingleHardwarePci200Response GetNodesSingleHardwarePci(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleHardwarePciWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleHardwarePci List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardwarePci200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleHardwarePciWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePci"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwarePci"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/hardware/pci", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwarePci", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwarePci List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardwarePci200Response public async System.Threading.Tasks.Task GetNodesSingleHardwarePciAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleHardwarePciWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleHardwarePci List local PCI devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardwarePci200Response) public async System.Threading.Tasks.Task> GetNodesSingleHardwarePciWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePci"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwarePci"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/hardware/pci", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwarePci", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwarePciSingle Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// GetNodesSingleScan200Response public GetNodesSingleScan200Response GetNodesSingleHardwarePciSingle(string node, string pciIdOrMapping, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleHardwarePciSingleWithHttpInfo(node, pciIdOrMapping); return localVarResponse.Data; } /// /// getNodesSingleHardwarePciSingle Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// ApiResponse of GetNodesSingleScan200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleHardwarePciSingleWithHttpInfo(string node, string pciIdOrMapping, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingle"); } // verify the required parameter 'pciIdOrMapping' is set if (pciIdOrMapping == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'pciIdOrMapping' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pci-id-or-mapping", ProxmoxSharp.Client.ClientUtils.ParameterToString(pciIdOrMapping)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwarePciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/hardware/pci/{pci-id-or-mapping}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwarePciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwarePciSingle Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScan200Response public async System.Threading.Tasks.Task GetNodesSingleHardwarePciSingleAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleHardwarePciSingleWithHttpInfoAsync(node, pciIdOrMapping, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleHardwarePciSingle Index of available pci methods /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScan200Response) public async System.Threading.Tasks.Task> GetNodesSingleHardwarePciSingleWithHttpInfoAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingle"); } // verify the required parameter 'pciIdOrMapping' is set if (pciIdOrMapping == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'pciIdOrMapping' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pci-id-or-mapping", ProxmoxSharp.Client.ClientUtils.ParameterToString(pciIdOrMapping)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwarePciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/hardware/pci/{pci-id-or-mapping}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwarePciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwarePciSingleMdev List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// GetNodesSingleHardwarePciSingleMdev200Response public GetNodesSingleHardwarePciSingleMdev200Response GetNodesSingleHardwarePciSingleMdev(string node, string pciIdOrMapping, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleHardwarePciSingleMdevWithHttpInfo(node, pciIdOrMapping); return localVarResponse.Data; } /// /// getNodesSingleHardwarePciSingleMdev List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardwarePciSingleMdev200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleHardwarePciSingleMdevWithHttpInfo(string node, string pciIdOrMapping, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingleMdev"); } // verify the required parameter 'pciIdOrMapping' is set if (pciIdOrMapping == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'pciIdOrMapping' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingleMdev"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pci-id-or-mapping", ProxmoxSharp.Client.ClientUtils.ParameterToString(pciIdOrMapping)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwarePciSingleMdev"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/hardware/pci/{pci-id-or-mapping}/mdev", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwarePciSingleMdev", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwarePciSingleMdev List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardwarePciSingleMdev200Response public async System.Threading.Tasks.Task GetNodesSingleHardwarePciSingleMdevAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleHardwarePciSingleMdevWithHttpInfoAsync(node, pciIdOrMapping, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleHardwarePciSingleMdev List mediated device types for given PCI device. /// /// Thrown when fails to make API call /// node /// pci-id-or-mapping /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardwarePciSingleMdev200Response) public async System.Threading.Tasks.Task> GetNodesSingleHardwarePciSingleMdevWithHttpInfoAsync(string node, string pciIdOrMapping, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingleMdev"); } // verify the required parameter 'pciIdOrMapping' is set if (pciIdOrMapping == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'pciIdOrMapping' when calling ProxmoxGeneratedApi->GetNodesSingleHardwarePciSingleMdev"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pci-id-or-mapping", ProxmoxSharp.Client.ClientUtils.ParameterToString(pciIdOrMapping)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwarePciSingleMdev"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/hardware/pci/{pci-id-or-mapping}/mdev", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwarePciSingleMdev", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwareUsb List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHardwareUsb200Response public GetNodesSingleHardwareUsb200Response GetNodesSingleHardwareUsb(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleHardwareUsbWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleHardwareUsb List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHardwareUsb200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleHardwareUsbWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwareUsb"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwareUsb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/hardware/usb", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwareUsb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHardwareUsb List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHardwareUsb200Response public async System.Threading.Tasks.Task GetNodesSingleHardwareUsbAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleHardwareUsbWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleHardwareUsb List local USB devices. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHardwareUsb200Response) public async System.Threading.Tasks.Task> GetNodesSingleHardwareUsbWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHardwareUsb"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHardwareUsb"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/hardware/usb", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHardwareUsb", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHosts Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleHosts200Response public GetNodesSingleHosts200Response GetNodesSingleHosts(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleHostsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleHosts Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleHosts200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleHostsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHosts"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHosts"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/hosts", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHosts", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleHosts Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleHosts200Response public async System.Threading.Tasks.Task GetNodesSingleHostsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleHostsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleHosts Get the content of /etc/hosts. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleHosts200Response) public async System.Threading.Tasks.Task> GetNodesSingleHostsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleHosts"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleHosts"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/hosts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleHosts", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleJournal Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleJournal200Response public GetNodesSingleJournal200Response GetNodesSingleJournal(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleJournalWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleJournal Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleJournal200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleJournalWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleJournal"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleJournal"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/journal", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleJournal", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleJournal Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleJournal200Response public async System.Threading.Tasks.Task GetNodesSingleJournalAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleJournalWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleJournal Read Journal /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleJournal200Response) public async System.Threading.Tasks.Task> GetNodesSingleJournalWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleJournal"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleJournal"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/journal", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleJournal", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxc LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleLxc200Response public GetNodesSingleLxc200Response GetNodesSingleLxc(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleLxc LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxc200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxc"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxc"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxc", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxc LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxc200Response public async System.Threading.Tasks.Task GetNodesSingleLxcAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxc LXC container index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxc200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxc"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxc"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxc", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingle Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodesSingleLxcSingle(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingle Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingle Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingle Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleConfig Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleConfig200Response public GetNodesSingleLxcSingleConfig200Response GetNodesSingleLxcSingleConfig(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleConfigWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleConfig Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleConfig200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleConfigWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleConfig Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleConfig200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleConfigAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleConfigWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleConfig Get container configuration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleConfig200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleConfigWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleFeature200Response public GetNodesSingleLxcSingleFeature200Response GetNodesSingleLxcSingleFeature(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFeatureWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleFeature200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFeatureWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFeature"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFeature"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/feature", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFeature", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleFeature200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFeatureAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFeatureWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleFeature200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFeatureWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFeature"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFeature"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/feature", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFeature", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleLxcSingleFirewall(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallAliases200Response public GetClusterFirewallAliases200Response GetNodesSingleLxcSingleFirewallAliases(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallAliasesWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallAliases200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallAliasesWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallAliases200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallAliasesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallAliasesWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallAliases200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleLxcSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallIpset List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSets200Response public GetClusterFirewallIPSets200Response GetNodesSingleLxcSingleFirewallIpset(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallIpsetWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallIpset List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSets200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallIpsetWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpset"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallIpset"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallIpset", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallIpset List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSets200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallIpsetAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallIpsetWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallIpset List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSets200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallIpsetWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpset"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallIpset"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallIpset", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallIpsetSingle List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSet200Response public GetClusterFirewallIPSet200Response GetNodesSingleLxcSingleFirewallIpsetSingle(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallIpsetSingle List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSet200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallIpsetSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallIpsetSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallIpsetSingle List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSet200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallIpsetSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallIpsetSingle List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSet200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallIpsetSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallIpsetSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallIpsetSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleLxcSingleFirewallIpsetSingleSingle(string cidr, string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(cidr, name, node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallIpsetSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallIpsetSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallIpsetSingleSingleAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(cidr, name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallIpsetSingleSingle Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallIpsetSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallIpsetSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallIpsetSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleLxcSingleFirewallLog(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallLogWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallLogWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallLogAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallLogWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallLogWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMFirewallOptions200Response public GetVMFirewallOptions200Response GetNodesSingleLxcSingleFirewallOptions(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallOptionsWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMFirewallOptions200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallOptionsWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMFirewallOptions200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallOptionsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallOptionsWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMFirewallOptions200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallOptionsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallRefs200Response public GetClusterFirewallRefs200Response GetNodesSingleLxcSingleFirewallRefs(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallRefsWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallRefs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallRefsWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallRefs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallRefs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/refs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallRefs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallRefs200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallRefsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallRefsWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallRefs200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallRefsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallRefs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallRefs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/refs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallRefs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response public GetClusterFirewallGroupRules200Response GetNodesSingleLxcSingleFirewallRules(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallRulesWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallRulesWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallRulesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallRulesWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallRulesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response public GetClusterFirewallGroupRule200Response GetNodesSingleLxcSingleFirewallRulesSingle(string node, int pos, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(node, pos, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleFirewallRulesSingleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(node, pos, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleFirewallRulesSingle Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleInterfaces Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleInterfaces200Response public GetNodesSingleLxcSingleInterfaces200Response GetNodesSingleLxcSingleInterfaces(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleInterfacesWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleInterfaces Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleInterfaces200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleInterfacesWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleInterfaces"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleInterfaces"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/interfaces", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleInterfaces", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleInterfaces Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleInterfaces200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleInterfacesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleInterfacesWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleInterfaces Get IP addresses of the specified container interface. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleInterfaces200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleInterfacesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleInterfaces"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleInterfaces"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/interfaces", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleInterfaces", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleMigrate Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleMigrate200Response public GetNodesSingleLxcSingleMigrate200Response GetNodesSingleLxcSingleMigrate(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleMigrateWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleMigrate Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleMigrate200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleMigrateWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleMigrate Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleMigrate200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleMigrateAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleMigrateWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleMigrate Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleMigrate200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleMigrateWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleMigrate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleMigrate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleMigrate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleMtunnelwebsocket200Response public GetNodesSingleQemuSingleMtunnelwebsocket200Response GetNodesSingleLxcSingleMtunnelwebsocket(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleMtunnelwebsocketWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleMtunnelwebsocket200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleMtunnelwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleMtunnelwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleMtunnelwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/mtunnelwebsocket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleMtunnelwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleMtunnelwebsocket200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleMtunnelwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleMtunnelwebsocketWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleMtunnelwebsocket200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleMtunnelwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleMtunnelwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleMtunnelwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/mtunnelwebsocket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleMtunnelwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSinglePending Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSinglePending200Response public GetNodesSingleLxcSinglePending200Response GetNodesSingleLxcSinglePending(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSinglePendingWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSinglePending Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSinglePending200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSinglePendingWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSinglePending"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSinglePending"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/pending", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSinglePending", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSinglePending Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSinglePending200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSinglePendingAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSinglePendingWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSinglePending Get container configuration, including pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSinglePending200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSinglePendingWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSinglePending"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSinglePending"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/pending", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSinglePending", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleRrd Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMRRD200Response public GetVMRRD200Response GetNodesSingleLxcSingleRrd(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleRrdWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleRrd Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleRrdWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleRrd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleRrd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/rrd", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleRrd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleRrd Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleRrdAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleRrdWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleRrd Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleRrdWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleRrd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleRrd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/rrd", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleRrd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleRrddata Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleLxcSingleRrddata(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleRrddataWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleRrddata Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleRrddataWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleRrddata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleRrddata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/rrddata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleRrddata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleRrddata Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleRrddataAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleRrddataWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleRrddata Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleRrddataWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleRrddata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleRrddata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/rrddata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleRrddata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleSnapshot List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleSnapshot200Response public GetNodesSingleLxcSingleSnapshot200Response GetNodesSingleLxcSingleSnapshot(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleSnapshotWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleSnapshot List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleSnapshot200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleSnapshotWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/snapshot", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleSnapshot List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleSnapshot200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleSnapshotAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleSnapshotWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleSnapshot List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleSnapshot200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleSnapshotWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/snapshot", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleSnapshotSingle getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleLxcSingleSnapshotSingle(string node, string snapname, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleSnapshotSingleWithHttpInfo(node, snapname, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleSnapshotSingle getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleSnapshotSingleWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingle"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleSnapshotSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleSnapshotSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleSnapshotSingle getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleSnapshotSingleAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleSnapshotSingleWithHttpInfoAsync(node, snapname, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleSnapshotSingle getNodesSingleLxcSingleSnapshotSingle /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleSnapshotSingleWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingle"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleSnapshotSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleSnapshotSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleSnapshotSingleConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleLxcSingleSnapshotSingleConfig(string node, string snapname, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfo(node, snapname, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleSnapshotSingleConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingleConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleSnapshotSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleSnapshotSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleSnapshotSingleConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleSnapshotSingleConfigAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfoAsync(node, snapname, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleSnapshotSingleConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingleConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleSnapshotSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleSnapshotSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleSnapshotSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodesSingleLxcSingleStatus(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleStatusWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleStatusWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleStatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleStatusWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleStatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleStatusCurrent Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleLxcSingleStatusCurrent200Response public GetNodesSingleLxcSingleStatusCurrent200Response GetNodesSingleLxcSingleStatusCurrent(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleStatusCurrentWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleStatusCurrent Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleLxcSingleStatusCurrent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleStatusCurrentWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleStatusCurrent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleStatusCurrent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/status/current", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleStatusCurrent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleStatusCurrent Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleLxcSingleStatusCurrent200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleStatusCurrentAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleStatusCurrentWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleStatusCurrent Get virtual machine status. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleLxcSingleStatusCurrent200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleStatusCurrentWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleStatusCurrent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleStatusCurrent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/status/current", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleStatusCurrent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleVncwebsocket200Response public GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleLxcSingleVncwebsocket(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleLxcSingleVncwebsocketWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleVncwebsocket200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleLxcSingleVncwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleVncwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleVncwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/lxc/{vmid}/vncwebsocket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleVncwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleLxcSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleVncwebsocket200Response public async System.Threading.Tasks.Task GetNodesSingleLxcSingleVncwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleLxcSingleVncwebsocketWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleLxcSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleVncwebsocket200Response) public async System.Threading.Tasks.Task> GetNodesSingleLxcSingleVncwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleLxcSingleVncwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleLxcSingleVncwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/lxc/{vmid}/vncwebsocket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleLxcSingleVncwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleNetstat Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleNetstat(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleNetstatWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleNetstat Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleNetstatWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleNetstat"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleNetstat"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/netstat", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleNetstat", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleNetstat Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleNetstatAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleNetstatWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleNetstat Read tap/vm network device interface counters /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleNetstatWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleNetstat"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleNetstat"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/netstat", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleNetstat", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleNetwork List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleNetwork200Response public GetNodesSingleNetwork200Response GetNodesSingleNetwork(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleNetworkWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleNetwork List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleNetwork200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleNetworkWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/network", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleNetwork List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleNetwork200Response public async System.Threading.Tasks.Task GetNodesSingleNetworkAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleNetworkWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleNetwork List available networks /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleNetwork200Response) public async System.Threading.Tasks.Task> GetNodesSingleNetworkWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/network", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleNetworkSingle Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// GetNodesSingleNetworkSingle200Response public GetNodesSingleNetworkSingle200Response GetNodesSingleNetworkSingle(string iface, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleNetworkSingleWithHttpInfo(iface, node); return localVarResponse.Data; } /// /// getNodesSingleNetworkSingle Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleNetworkSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleNetworkSingleWithHttpInfo(string iface, string node, int operationIndex = 0) { // verify the required parameter 'iface' is set if (iface == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'iface' when calling ProxmoxGeneratedApi->GetNodesSingleNetworkSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleNetworkSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("iface", ProxmoxSharp.Client.ClientUtils.ParameterToString(iface)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleNetworkSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/network/{iface}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleNetworkSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleNetworkSingle Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleNetworkSingle200Response public async System.Threading.Tasks.Task GetNodesSingleNetworkSingleAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleNetworkSingleWithHttpInfoAsync(iface, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleNetworkSingle Read network device configuration /// /// Thrown when fails to make API call /// iface /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleNetworkSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleNetworkSingleWithHttpInfoAsync(string iface, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'iface' is set if (iface == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'iface' when calling ProxmoxGeneratedApi->GetNodesSingleNetworkSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleNetworkSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("iface", ProxmoxSharp.Client.ClientUtils.ParameterToString(iface)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleNetworkSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/network/{iface}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleNetworkSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgent QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleAgent200Response public GetNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgent(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgent QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgent QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgent QEMU Guest Agent command index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentExecstatus Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleAgentExecstatus200Response public GetNodesSingleQemuSingleAgentExecstatus200Response GetNodesSingleQemuSingleAgentExecstatus(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentExecstatusWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentExecstatus Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleAgentExecstatus200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentExecstatusWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentExecstatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentExecstatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/exec-status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentExecstatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentExecstatus Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleAgentExecstatus200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentExecstatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentExecstatusWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentExecstatus Gets the status of the given pid started by the guest-agent /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleAgentExecstatus200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentExecstatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentExecstatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentExecstatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/exec-status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentExecstatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentFileread Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleAgentFileread200Response public GetNodesSingleQemuSingleAgentFileread200Response GetNodesSingleQemuSingleAgentFileread(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentFilereadWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentFileread Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleAgentFileread200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentFilereadWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentFileread"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentFileread"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/file-read", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentFileread", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentFileread Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleAgentFileread200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentFilereadAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentFilereadWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentFileread Reads the given file via guest agent. Is limited to 16777216 bytes. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleAgentFileread200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentFilereadWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentFileread"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentFileread"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/file-read", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentFileread", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetfsinfo Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetfsinfo(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGetfsinfoWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetfsinfo Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGetfsinfoWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetfsinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetfsinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-fsinfo", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetfsinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetfsinfo Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetfsinfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGetfsinfoWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetfsinfo Execute get-fsinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetfsinfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetfsinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetfsinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-fsinfo", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetfsinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGethostname Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGethostname(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGethostnameWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGethostname Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGethostnameWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGethostname"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGethostname"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-host-name", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGethostname", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGethostname Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGethostnameAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGethostnameWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGethostname Execute get-host-name. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGethostnameWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGethostname"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGethostname"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-host-name", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGethostname", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetmemoryblockinfo(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGetmemoryblockinfoWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGetmemoryblockinfoWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetmemoryblockinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetmemoryblockinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-memory-block-info", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetmemoryblockinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetmemoryblockinfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGetmemoryblockinfoWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetmemoryblockinfo Execute get-memory-block-info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetmemoryblockinfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetmemoryblockinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetmemoryblockinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-memory-block-info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetmemoryblockinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetmemoryblocks Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetmemoryblocks(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGetmemoryblocksWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetmemoryblocks Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGetmemoryblocksWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetmemoryblocks"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetmemoryblocks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-memory-blocks", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetmemoryblocks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetmemoryblocks Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetmemoryblocksAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGetmemoryblocksWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetmemoryblocks Execute get-memory-blocks. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetmemoryblocksWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetmemoryblocks"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetmemoryblocks"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-memory-blocks", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetmemoryblocks", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetosinfo Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetosinfo(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGetosinfoWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetosinfo Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGetosinfoWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetosinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetosinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-osinfo", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetosinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetosinfo Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetosinfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGetosinfoWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetosinfo Execute get-osinfo. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetosinfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetosinfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetosinfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-osinfo", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetosinfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGettime Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGettime(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGettimeWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGettime Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGettimeWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGettime"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGettime"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-time", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGettime", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGettime Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGettimeAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGettimeWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGettime Execute get-time. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGettimeWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGettime"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGettime"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-time", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGettime", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGettimezone Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGettimezone(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGettimezoneWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGettimezone Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGettimezoneWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGettimezone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGettimezone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-timezone", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGettimezone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGettimezone Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGettimezoneAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGettimezoneWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGettimezone Execute get-timezone. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGettimezoneWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGettimezone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGettimezone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-timezone", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGettimezone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetusers Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetusers(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGetusersWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetusers Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGetusersWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetusers"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetusers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-users", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetusers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetusers Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetusersAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGetusersWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetusers Execute get-users. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetusersWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetusers"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetusers"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetusers", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetvcpus Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentGetvcpus(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentGetvcpusWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetvcpus Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentGetvcpusWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetvcpus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetvcpus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/get-vcpus", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetvcpus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentGetvcpus Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentGetvcpusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentGetvcpusWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentGetvcpus Execute get-vcpus. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentGetvcpusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentGetvcpus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentGetvcpus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/get-vcpus", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentGetvcpus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentInfo Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentInfo(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentInfoWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentInfo Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentInfoWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentInfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentInfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/info", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentInfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentInfo Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentInfoWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentInfo Execute info. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentInfoWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentInfo"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentInfo"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentInfo", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateNodesSingleQemuSingleAgent200Response public CreateNodesSingleQemuSingleAgent200Response GetNodesSingleQemuSingleAgentNetworkgetinterfaces(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleAgentNetworkgetinterfacesWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleAgent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleAgentNetworkgetinterfacesWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentNetworkgetinterfaces"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentNetworkgetinterfaces"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/agent/network-get-interfaces", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentNetworkgetinterfaces", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleAgent200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleAgentNetworkgetinterfacesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleAgentNetworkgetinterfacesWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleAgentNetworkgetinterfaces Execute network-get-interfaces. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleAgent200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleAgentNetworkgetinterfacesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleAgentNetworkgetinterfaces"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleAgentNetworkgetinterfaces"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/agent/network-get-interfaces", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleAgentNetworkgetinterfaces", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleCloudinit Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleCloudinit200Response public GetNodesSingleQemuSingleCloudinit200Response GetNodesSingleQemuSingleCloudinit(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleCloudinitWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleCloudinit Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleCloudinit200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleCloudinitWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleCloudinit"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleCloudinit"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/cloudinit", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleCloudinit", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleCloudinit Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleCloudinit200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleCloudinitAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleCloudinitWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleCloudinit Get the cloudinit configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleCloudinit200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleCloudinitWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleCloudinit"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleCloudinit"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/cloudinit", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleCloudinit", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleCloudinitDump Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetNodesSingleQemuSingleCloudinitDump(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleCloudinitDumpWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleCloudinitDump Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleCloudinitDumpWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleCloudinitDump"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleCloudinitDump"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/cloudinit/dump", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleCloudinitDump", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleCloudinitDump Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleCloudinitDumpAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleCloudinitDumpWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleCloudinitDump Get automatically generated cloudinit config. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleCloudinitDumpWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleCloudinitDump"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleCloudinitDump"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/cloudinit/dump", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleCloudinitDump", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleFeature200Response public GetNodesSingleQemuSingleFeature200Response GetNodesSingleQemuSingleFeature(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleFeatureWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFeature200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleFeatureWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFeature"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFeature"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/feature", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFeature", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFeature200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleFeatureAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleFeatureWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFeature Check if feature for virtual machine is available. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFeature200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleFeatureWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFeature"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFeature"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/feature", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFeature", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallAliases200Response public GetClusterFirewallAliases200Response GetNodesSingleQemuSingleFirewallAliases(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleFirewallAliasesWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallAliases200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleFirewallAliasesWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallAliases200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallAliasesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleFirewallAliasesWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallAliases List aliases /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallAliases200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallAliasesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallAliases"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallAliases"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/aliases", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallAliases", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleQemuSingleFirewallAliasesSingle(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallAliasesSingleAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallAliasesSingle Read alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleQemuSingleFirewallLog(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleFirewallLogWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleFirewallLogWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallLogAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleFirewallLogWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallLog Read firewall log /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallLogWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallRefs200Response public GetClusterFirewallRefs200Response GetNodesSingleQemuSingleFirewallRefs(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleFirewallRefsWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallRefs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleFirewallRefsWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallRefs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallRefs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/refs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallRefs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallRefs200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleFirewallRefsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleFirewallRefsWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleFirewallRefs Lists possible IPSet/Alias reference which are allowed in source/dest properties. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallRefs200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleFirewallRefsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleFirewallRefs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleFirewallRefs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/refs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleFirewallRefs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleMtunnelwebsocket200Response public GetNodesSingleQemuSingleMtunnelwebsocket200Response GetNodesSingleQemuSingleMtunnelwebsocket(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleMtunnelwebsocketWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleMtunnelwebsocket200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleMtunnelwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleMtunnelwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleMtunnelwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/mtunnelwebsocket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleMtunnelwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleMtunnelwebsocket200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleMtunnelwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleMtunnelwebsocketWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleMtunnelwebsocket Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleMtunnelwebsocket200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleMtunnelwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleMtunnelwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleMtunnelwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/mtunnelwebsocket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleMtunnelwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetNodesSingleQemuSingleVncwebsocket200Response public GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleQemuSingleVncwebsocket(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQemuSingleVncwebsocketWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleVncwebsocket200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQemuSingleVncwebsocketWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleVncwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleVncwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/vncwebsocket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleVncwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQemuSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleVncwebsocket200Response public async System.Threading.Tasks.Task GetNodesSingleQemuSingleVncwebsocketAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQemuSingleVncwebsocketWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQemuSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleVncwebsocket200Response) public async System.Threading.Tasks.Task> GetNodesSingleQemuSingleVncwebsocketWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQemuSingleVncwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQemuSingleVncwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/vncwebsocket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQemuSingleVncwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQueryocirepotags List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleJournal200Response public GetNodesSingleJournal200Response GetNodesSingleQueryocirepotags(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQueryocirepotagsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleQueryocirepotags List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleJournal200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQueryocirepotagsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQueryocirepotags"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQueryocirepotags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/query-oci-repo-tags", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQueryocirepotags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQueryocirepotags List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleJournal200Response public async System.Threading.Tasks.Task GetNodesSingleQueryocirepotagsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQueryocirepotagsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQueryocirepotags List all tags for an OCI repository reference. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleJournal200Response) public async System.Threading.Tasks.Task> GetNodesSingleQueryocirepotagsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQueryocirepotags"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQueryocirepotags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/query-oci-repo-tags", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQueryocirepotags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQueryurlmetadata Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQueryurlmetadata200Response public GetNodesSingleQueryurlmetadata200Response GetNodesSingleQueryurlmetadata(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleQueryurlmetadataWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleQueryurlmetadata Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQueryurlmetadata200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleQueryurlmetadataWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQueryurlmetadata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQueryurlmetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/query-url-metadata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQueryurlmetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleQueryurlmetadata Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQueryurlmetadata200Response public async System.Threading.Tasks.Task GetNodesSingleQueryurlmetadataAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleQueryurlmetadataWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleQueryurlmetadata Query metadata of an URL: file size, file name and mime type. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQueryurlmetadata200Response) public async System.Threading.Tasks.Task> GetNodesSingleQueryurlmetadataWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleQueryurlmetadata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleQueryurlmetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/query-url-metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleQueryurlmetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplication List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetClusterHa200Response public GetClusterHa200Response GetNodesSingleReplication(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleReplicationWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleReplication List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetClusterHa200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleReplicationWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplication"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplication"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/replication", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplication", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplication List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterHa200Response public async System.Threading.Tasks.Task GetNodesSingleReplicationAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleReplicationWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleReplication List status of all replication jobs on this node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterHa200Response) public async System.Threading.Tasks.Task> GetNodesSingleReplicationWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplication"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplication"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/replication", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplication", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplicationSingle Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleReplicationSingle(string id, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleReplicationSingleWithHttpInfo(id, node); return localVarResponse.Data; } /// /// getNodesSingleReplicationSingle Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleReplicationSingleWithHttpInfo(string id, string node, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/replication/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplicationSingle Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleReplicationSingleAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleReplicationSingleWithHttpInfoAsync(id, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleReplicationSingle Directory index. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleReplicationSingleWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/replication/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplicationSingleLog Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleReplicationSingleLog(string id, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleReplicationSingleLogWithHttpInfo(id, node); return localVarResponse.Data; } /// /// getNodesSingleReplicationSingleLog Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleReplicationSingleLogWithHttpInfo(string id, string node, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleLog"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplicationSingleLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/replication/{id}/log", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplicationSingleLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplicationSingleLog Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodesSingleReplicationSingleLogAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleReplicationSingleLogWithHttpInfoAsync(id, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleReplicationSingleLog Read replication job log. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodesSingleReplicationSingleLogWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleLog"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleLog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplicationSingleLog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/replication/{id}/log", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplicationSingleLog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplicationSingleStatus Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetNodesSingleReplicationSingleStatus(string id, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleReplicationSingleStatusWithHttpInfo(id, node); return localVarResponse.Data; } /// /// getNodesSingleReplicationSingleStatus Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleReplicationSingleStatusWithHttpInfo(string id, string node, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleStatus"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplicationSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/replication/{id}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplicationSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReplicationSingleStatus Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetNodesSingleReplicationSingleStatusAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleReplicationSingleStatusWithHttpInfoAsync(id, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleReplicationSingleStatus Get replication job status. /// /// Thrown when fails to make API call /// id /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleReplicationSingleStatusWithHttpInfoAsync(string id, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleStatus"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReplicationSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReplicationSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/replication/{id}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReplicationSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReport Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetNodesSingleReport(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleReportWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleReport Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleReportWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReport"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReport"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/report", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReport", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleReport Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetNodesSingleReportAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleReportWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleReport Gather various systems information about a node /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetNodesSingleReportWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleReport"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleReport"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/report", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleReport", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScan Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScan200Response public GetNodesSingleScan200Response GetNodesSingleScan(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScan Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScan200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScan"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScan"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScan", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScan Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScan200Response public async System.Threading.Tasks.Task GetNodesSingleScanAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScan Index of available scan methods /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScan200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScan"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScan"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScan", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanCifs Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanCifs200Response public GetNodesSingleScanCifs200Response GetNodesSingleScanCifs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanCifsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanCifs Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanCifs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanCifsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanCifs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanCifs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/cifs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanCifs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanCifs Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanCifs200Response public async System.Threading.Tasks.Task GetNodesSingleScanCifsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanCifsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanCifs Scan remote CIFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanCifs200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanCifsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanCifs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanCifs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/cifs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanCifs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanIscsi Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanIscsi200Response public GetNodesSingleScanIscsi200Response GetNodesSingleScanIscsi(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanIscsiWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanIscsi Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanIscsi200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanIscsiWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanIscsi"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanIscsi"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/iscsi", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanIscsi", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanIscsi Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanIscsi200Response public async System.Threading.Tasks.Task GetNodesSingleScanIscsiAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanIscsiWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanIscsi Scan remote iSCSI server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanIscsi200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanIscsiWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanIscsi"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanIscsi"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/iscsi", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanIscsi", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanLvm List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanLvm200Response public GetNodesSingleScanLvm200Response GetNodesSingleScanLvm(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanLvmWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanLvm List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanLvm200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanLvmWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanLvm"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanLvm"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/lvm", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanLvm", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanLvm List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanLvm200Response public async System.Threading.Tasks.Task GetNodesSingleScanLvmAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanLvmWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanLvm List local LVM volume groups. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanLvm200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanLvmWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanLvm"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanLvm"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/lvm", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanLvm", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanLvmthin List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanLvmthin200Response public GetNodesSingleScanLvmthin200Response GetNodesSingleScanLvmthin(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanLvmthinWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanLvmthin List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanLvmthin200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanLvmthinWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanLvmthin"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanLvmthin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/lvmthin", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanLvmthin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanLvmthin List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanLvmthin200Response public async System.Threading.Tasks.Task GetNodesSingleScanLvmthinAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanLvmthinWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanLvmthin List local LVM Thin Pools. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanLvmthin200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanLvmthinWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanLvmthin"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanLvmthin"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/lvmthin", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanLvmthin", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanNfs Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanNfs200Response public GetNodesSingleScanNfs200Response GetNodesSingleScanNfs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanNfsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanNfs Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanNfs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanNfsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanNfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanNfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/nfs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanNfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanNfs Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanNfs200Response public async System.Threading.Tasks.Task GetNodesSingleScanNfsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanNfsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanNfs Scan remote NFS server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanNfs200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanNfsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanNfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanNfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/nfs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanNfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanPbs Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanPbs200Response public GetNodesSingleScanPbs200Response GetNodesSingleScanPbs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanPbsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanPbs Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanPbs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanPbsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanPbs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanPbs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/pbs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanPbs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanPbs Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanPbs200Response public async System.Threading.Tasks.Task GetNodesSingleScanPbsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanPbsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanPbs Scan remote Proxmox Backup Server. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanPbs200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanPbsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanPbs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanPbs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/pbs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanPbs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanZfs Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleScanZfs200Response public GetNodesSingleScanZfs200Response GetNodesSingleScanZfs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleScanZfsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleScanZfs Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleScanZfs200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleScanZfsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanZfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanZfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/scan/zfs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanZfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleScanZfs Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleScanZfs200Response public async System.Threading.Tasks.Task GetNodesSingleScanZfsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleScanZfsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleScanZfs Scan zfs pool list on local node. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleScanZfs200Response) public async System.Threading.Tasks.Task> GetNodesSingleScanZfsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleScanZfs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleScanZfs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/scan/zfs", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleScanZfs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingle Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodesSingleSdnFabricsSingle(string fabric, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnFabricsSingleWithHttpInfo(fabric, node); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingle Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnFabricsSingleWithHttpInfo(string fabric, string node, int operationIndex = 0) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/fabrics/{fabric}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingle Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnFabricsSingleWithHttpInfoAsync(fabric, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingle Directory index for SDN fabric status. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/fabrics/{fabric}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingleInterfaces Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetNodesSingleSdnFabricsSingleInterfaces200Response public GetNodesSingleSdnFabricsSingleInterfaces200Response GetNodesSingleSdnFabricsSingleInterfaces(string fabric, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnFabricsSingleInterfacesWithHttpInfo(fabric, node); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingleInterfaces Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnFabricsSingleInterfaces200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnFabricsSingleInterfacesWithHttpInfo(string fabric, string node, int operationIndex = 0) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleInterfaces"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleInterfaces"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingleInterfaces"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/fabrics/{fabric}/interfaces", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingleInterfaces", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingleInterfaces Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnFabricsSingleInterfaces200Response public async System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleInterfacesAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnFabricsSingleInterfacesWithHttpInfoAsync(fabric, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingleInterfaces Get all interfaces for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnFabricsSingleInterfaces200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleInterfacesWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleInterfaces"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleInterfaces"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingleInterfaces"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/fabrics/{fabric}/interfaces", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingleInterfaces", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingleNeighbors Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetNodesSingleSdnFabricsSingleNeighbors200Response public GetNodesSingleSdnFabricsSingleNeighbors200Response GetNodesSingleSdnFabricsSingleNeighbors(string fabric, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnFabricsSingleNeighborsWithHttpInfo(fabric, node); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingleNeighbors Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnFabricsSingleNeighbors200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnFabricsSingleNeighborsWithHttpInfo(string fabric, string node, int operationIndex = 0) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleNeighbors"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleNeighbors"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingleNeighbors"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/fabrics/{fabric}/neighbors", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingleNeighbors", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingleNeighbors Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnFabricsSingleNeighbors200Response public async System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleNeighborsAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnFabricsSingleNeighborsWithHttpInfoAsync(fabric, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingleNeighbors Get all neighbors for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnFabricsSingleNeighbors200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleNeighborsWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleNeighbors"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleNeighbors"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingleNeighbors"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/fabrics/{fabric}/neighbors", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingleNeighbors", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingleRoutes Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// GetNodesSingleSdnFabricsSingleRoutes200Response public GetNodesSingleSdnFabricsSingleRoutes200Response GetNodesSingleSdnFabricsSingleRoutes(string fabric, string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnFabricsSingleRoutesWithHttpInfo(fabric, node); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingleRoutes Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnFabricsSingleRoutes200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnFabricsSingleRoutesWithHttpInfo(string fabric, string node, int operationIndex = 0) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleRoutes"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleRoutes"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingleRoutes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/fabrics/{fabric}/routes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingleRoutes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnFabricsSingleRoutes Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnFabricsSingleRoutes200Response public async System.Threading.Tasks.Task GetNodesSingleSdnFabricsSingleRoutesAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnFabricsSingleRoutesWithHttpInfoAsync(fabric, node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnFabricsSingleRoutes Get all routes for a fabric. /// /// Thrown when fails to make API call /// fabric /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnFabricsSingleRoutes200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnFabricsSingleRoutesWithHttpInfoAsync(string fabric, string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabric' is set if (fabric == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabric' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleRoutes"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnFabricsSingleRoutes"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabric)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnFabricsSingleRoutes"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/fabrics/{fabric}/routes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnFabricsSingleRoutes", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnVnetsSingle getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodesSingleSdnVnetsSingle(string node, string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnVnetsSingleWithHttpInfo(node, vnet); return localVarResponse.Data; } /// /// getNodesSingleSdnVnetsSingle getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnVnetsSingleWithHttpInfo(string node, string vnet, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnVnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnVnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnVnetsSingle getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodesSingleSdnVnetsSingleAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnVnetsSingleWithHttpInfoAsync(node, vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnVnetsSingle getNodesSingleSdnVnetsSingle /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnVnetsSingleWithHttpInfoAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnVnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnVnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnVnetsSingleMacvrf Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// GetNodesSingleSdnVnetsSingleMacvrf200Response public GetNodesSingleSdnVnetsSingleMacvrf200Response GetNodesSingleSdnVnetsSingleMacvrf(string node, string vnet, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnVnetsSingleMacvrfWithHttpInfo(node, vnet); return localVarResponse.Data; } /// /// getNodesSingleSdnVnetsSingleMacvrf Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnVnetsSingleMacvrf200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnVnetsSingleMacvrfWithHttpInfo(string node, string vnet, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingleMacvrf"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingleMacvrf"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnVnetsSingleMacvrf"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/vnets/{vnet}/mac-vrf", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnVnetsSingleMacvrf", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnVnetsSingleMacvrf Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnVnetsSingleMacvrf200Response public async System.Threading.Tasks.Task GetNodesSingleSdnVnetsSingleMacvrfAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnVnetsSingleMacvrfWithHttpInfoAsync(node, vnet, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnVnetsSingleMacvrf Get the MAC VRF for a VNet in an EVPN zone. /// /// Thrown when fails to make API call /// node /// vnet /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnVnetsSingleMacvrf200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnVnetsSingleMacvrfWithHttpInfoAsync(string node, string vnet, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingleMacvrf"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->GetNodesSingleSdnVnetsSingleMacvrf"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnVnetsSingleMacvrf"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/vnets/{vnet}/mac-vrf", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnVnetsSingleMacvrf", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnZonesSingleBridges Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetNodesSingleSdnZonesSingleBridges200Response public GetNodesSingleSdnZonesSingleBridges200Response GetNodesSingleSdnZonesSingleBridges(string node, string zone, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnZonesSingleBridgesWithHttpInfo(node, zone); return localVarResponse.Data; } /// /// getNodesSingleSdnZonesSingleBridges Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnZonesSingleBridges200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnZonesSingleBridgesWithHttpInfo(string node, string zone, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleBridges"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleBridges"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnZonesSingleBridges"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/zones/{zone}/bridges", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnZonesSingleBridges", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnZonesSingleBridges Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnZonesSingleBridges200Response public async System.Threading.Tasks.Task GetNodesSingleSdnZonesSingleBridgesAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnZonesSingleBridgesWithHttpInfoAsync(node, zone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnZonesSingleBridges Get a list of all bridges (vnets) that are part of a zone, as well as the ports that are members of that bridge. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnZonesSingleBridges200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnZonesSingleBridgesWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleBridges"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleBridges"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnZonesSingleBridges"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/zones/{zone}/bridges", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnZonesSingleBridges", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnZonesSingleIpvrf Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// GetNodesSingleSdnZonesSingleIpvrf200Response public GetNodesSingleSdnZonesSingleIpvrf200Response GetNodesSingleSdnZonesSingleIpvrf(string node, string zone, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSdnZonesSingleIpvrfWithHttpInfo(node, zone); return localVarResponse.Data; } /// /// getNodesSingleSdnZonesSingleIpvrf Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// ApiResponse of GetNodesSingleSdnZonesSingleIpvrf200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSdnZonesSingleIpvrfWithHttpInfo(string node, string zone, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleIpvrf"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleIpvrf"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnZonesSingleIpvrf"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/sdn/zones/{zone}/ip-vrf", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnZonesSingleIpvrf", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSdnZonesSingleIpvrf Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSdnZonesSingleIpvrf200Response public async System.Threading.Tasks.Task GetNodesSingleSdnZonesSingleIpvrfAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSdnZonesSingleIpvrfWithHttpInfoAsync(node, zone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSdnZonesSingleIpvrf Get the IP VRF of an EVPN zone. /// /// Thrown when fails to make API call /// node /// zone /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSdnZonesSingleIpvrf200Response) public async System.Threading.Tasks.Task> GetNodesSingleSdnZonesSingleIpvrfWithHttpInfoAsync(string node, string zone, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleIpvrf"); } // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->GetNodesSingleSdnZonesSingleIpvrf"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSdnZonesSingleIpvrf"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/sdn/zones/{zone}/ip-vrf", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSdnZonesSingleIpvrf", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleServices Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleServices200Response public GetNodesSingleServices200Response GetNodesSingleServices(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleServicesWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleServices Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleServices200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleServicesWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleServices"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleServices"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/services", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleServices", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleServices Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleServices200Response public async System.Threading.Tasks.Task GetNodesSingleServicesAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleServicesWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleServices Service list. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleServices200Response) public async System.Threading.Tasks.Task> GetNodesSingleServicesWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleServices"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleServices"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/services", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleServices", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleServicesSingle Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodesSingleServicesSingle(string node, string service, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleServicesSingleWithHttpInfo(node, service); return localVarResponse.Data; } /// /// getNodesSingleServicesSingle Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleServicesSingleWithHttpInfo(string node, string service, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingle"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleServicesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/services/{service}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleServicesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleServicesSingle Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodesSingleServicesSingleAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleServicesSingleWithHttpInfoAsync(node, service, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleServicesSingle Directory index /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodesSingleServicesSingleWithHttpInfoAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingle"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleServicesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/services/{service}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleServicesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleServicesSingleState Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// GetNodesSingleServicesSingleState200Response public GetNodesSingleServicesSingleState200Response GetNodesSingleServicesSingleState(string node, string service, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleServicesSingleStateWithHttpInfo(node, service); return localVarResponse.Data; } /// /// getNodesSingleServicesSingleState Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// ApiResponse of GetNodesSingleServicesSingleState200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleServicesSingleStateWithHttpInfo(string node, string service, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingleState"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingleState"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleServicesSingleState"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/services/{service}/state", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleServicesSingleState", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleServicesSingleState Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleServicesSingleState200Response public async System.Threading.Tasks.Task GetNodesSingleServicesSingleStateAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleServicesSingleStateWithHttpInfoAsync(node, service, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleServicesSingleState Read service properties /// /// Thrown when fails to make API call /// node /// service /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleServicesSingleState200Response) public async System.Threading.Tasks.Task> GetNodesSingleServicesSingleStateWithHttpInfoAsync(string node, string service, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingleState"); } // verify the required parameter 'service' is set if (service == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'service' when calling ProxmoxGeneratedApi->GetNodesSingleServicesSingleState"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("service", ProxmoxSharp.Client.ClientUtils.ParameterToString(service)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleServicesSingleState"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/services/{service}/state", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleServicesSingleState", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStatus Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleStatus200Response public GetNodesSingleStatus200Response GetNodesSingleStatus(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStatusWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleStatus Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleStatus200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStatusWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStatus Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStatus200Response public async System.Threading.Tasks.Task GetNodesSingleStatusAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStatusWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStatus Read node status /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStatus200Response) public async System.Threading.Tasks.Task> GetNodesSingleStatusWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorage Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleStorage200Response public GetNodesSingleStorage200Response GetNodesSingleStorage(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleStorage Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorage200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorage"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorage"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorage", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorage Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorage200Response public async System.Threading.Tasks.Task GetNodesSingleStorageAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorage Get status for all datastores. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorage200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorage"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorage"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorage", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingle getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetNodesSingleStorageSingle(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingle getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingle getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingle getNodesSingleStorageSingle /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleContent List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleContent200Response public GetNodesSingleStorageSingleContent200Response GetNodesSingleStorageSingleContent(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleContentWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleContent List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleContent200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleContentWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContent"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleContent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/content", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleContent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleContent List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleContent200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleContentAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleContentWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleContent List storage content. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleContent200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleContentWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContent"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContent"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleContent"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/content", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleContent", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleContentSingle Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// GetNodesSingleStorageSingleContentSingle200Response public GetNodesSingleStorageSingleContentSingle200Response GetNodesSingleStorageSingleContentSingle(string node, string storage, string volume, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleContentSingleWithHttpInfo(node, storage, volume); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleContentSingle Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleContentSingle200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleContentSingle Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleContentSingle200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleContentSingleWithHttpInfoAsync(node, storage, volume, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleContentSingle Get volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleContentSingle200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleFilerestoreDownload Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleFilerestoreDownload200Response public GetNodesSingleStorageSingleFilerestoreDownload200Response GetNodesSingleStorageSingleFilerestoreDownload(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleFilerestoreDownloadWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleFilerestoreDownload Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleFilerestoreDownload200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleFilerestoreDownloadWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreDownload"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreDownload"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleFilerestoreDownload"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/file-restore/download", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleFilerestoreDownload", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleFilerestoreDownload Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleFilerestoreDownload200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleFilerestoreDownloadAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleFilerestoreDownloadWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleFilerestoreDownload Extract a file or directory (as zip archive) from a PBS backup. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleFilerestoreDownload200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleFilerestoreDownloadWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreDownload"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreDownload"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleFilerestoreDownload"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/file-restore/download", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleFilerestoreDownload", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleFilerestoreList List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleFilerestoreList200Response public GetNodesSingleStorageSingleFilerestoreList200Response GetNodesSingleStorageSingleFilerestoreList(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleFilerestoreListWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleFilerestoreList List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleFilerestoreList200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleFilerestoreListWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreList"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreList"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleFilerestoreList"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/file-restore/list", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleFilerestoreList", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleFilerestoreList List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleFilerestoreList200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleFilerestoreListAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleFilerestoreListWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleFilerestoreList List files and directories for single file restore under the given path. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleFilerestoreList200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleFilerestoreListWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreList"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleFilerestoreList"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleFilerestoreList"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/file-restore/list", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleFilerestoreList", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleImportmetadata Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleImportmetadata200Response public GetNodesSingleStorageSingleImportmetadata200Response GetNodesSingleStorageSingleImportmetadata(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleImportmetadataWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleImportmetadata Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleImportmetadata200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleImportmetadataWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleImportmetadata"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleImportmetadata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleImportmetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/import-metadata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleImportmetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleImportmetadata Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleImportmetadata200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleImportmetadataAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleImportmetadataWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleImportmetadata Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleImportmetadata200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleImportmetadataWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleImportmetadata"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleImportmetadata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleImportmetadata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/import-metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleImportmetadata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSinglePrunebackups Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSinglePrunebackups200Response public GetNodesSingleStorageSinglePrunebackups200Response GetNodesSingleStorageSinglePrunebackups(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSinglePrunebackupsWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSinglePrunebackups Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSinglePrunebackups200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSinglePrunebackupsWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSinglePrunebackups"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSinglePrunebackups"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSinglePrunebackups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/prunebackups", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSinglePrunebackups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSinglePrunebackups Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSinglePrunebackups200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSinglePrunebackupsAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSinglePrunebackupsWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSinglePrunebackups Get prune information for backups. NOTE: this is only a preview and might not be what a subsequent prune call does if backups are removed/added in the meantime. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSinglePrunebackups200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSinglePrunebackupsWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSinglePrunebackups"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSinglePrunebackups"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSinglePrunebackups"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/prunebackups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSinglePrunebackups", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleRrd Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetVMRRD200Response public GetVMRRD200Response GetNodesSingleStorageSingleRrd(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleRrdWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleRrd Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleRrdWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrd"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleRrd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/rrd", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleRrd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleRrd Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleRrdAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleRrdWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleRrd Read storage RRD statistics (returns PNG). /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleRrdWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrd"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrd"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleRrd"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/rrd", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleRrd", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleRrddata Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetNodesSingleStorageSingleRrddata(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleRrddataWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleRrddata Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleRrddataWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrddata"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrddata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleRrddata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/rrddata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleRrddata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleRrddata Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleRrddataAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleRrddataWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleRrddata Read storage RRD statistics. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleRrddataWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrddata"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleRrddata"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleRrddata"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/rrddata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleRrddata", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleStatus Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// GetNodesSingleStorageSingleStatus200Response public GetNodesSingleStorageSingleStatus200Response GetNodesSingleStorageSingleStatus(string node, string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleStorageSingleStatusWithHttpInfo(node, storage); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleStatus Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// ApiResponse of GetNodesSingleStorageSingleStatus200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleStorageSingleStatusWithHttpInfo(string node, string storage, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleStatus"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/storage/{storage}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleStorageSingleStatus Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleStorageSingleStatus200Response public async System.Threading.Tasks.Task GetNodesSingleStorageSingleStatusAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleStorageSingleStatusWithHttpInfoAsync(node, storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleStorageSingleStatus Read storage status. /// /// Thrown when fails to make API call /// node /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleStorageSingleStatus200Response) public async System.Threading.Tasks.Task> GetNodesSingleStorageSingleStatusWithHttpInfoAsync(string node, string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleStatus"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetNodesSingleStorageSingleStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleStorageSingleStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/storage/{storage}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleStorageSingleStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSubscription Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleSubscription200Response public GetNodesSingleSubscription200Response GetNodesSingleSubscription(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSubscriptionWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleSubscription Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleSubscription200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSubscriptionWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSubscription Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleSubscription200Response public async System.Threading.Tasks.Task GetNodesSingleSubscriptionAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSubscriptionWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSubscription Read subscription info. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleSubscription200Response) public async System.Threading.Tasks.Task> GetNodesSingleSubscriptionWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSyslog Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleFirewallLog200Response public GetNodesSingleQemuSingleFirewallLog200Response GetNodesSingleSyslog(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleSyslogWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleSyslog Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleFirewallLog200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleSyslogWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSyslog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSyslog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/syslog", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSyslog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleSyslog Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleFirewallLog200Response public async System.Threading.Tasks.Task GetNodesSingleSyslogAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleSyslogWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleSyslog Read system log /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleFirewallLog200Response) public async System.Threading.Tasks.Task> GetNodesSingleSyslogWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleSyslog"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleSyslog"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/syslog", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleSyslog", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleTime Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleTime200Response public GetNodesSingleTime200Response GetNodesSingleTime(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleTimeWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleTime Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleTime200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleTimeWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleTime"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleTime"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/time", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleTime", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleTime Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleTime200Response public async System.Threading.Tasks.Task GetNodesSingleTimeAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleTimeWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleTime Read server time and time zone settings. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleTime200Response) public async System.Threading.Tasks.Task> GetNodesSingleTimeWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleTime"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleTime"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/time", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleTime", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVersion API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleVersion200Response public GetNodesSingleVersion200Response GetNodesSingleVersion(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleVersionWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleVersion API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleVersion200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleVersionWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVersion"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVersion"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/version", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVersion", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVersion API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleVersion200Response public async System.Threading.Tasks.Task GetNodesSingleVersionAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleVersionWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleVersion API version details /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleVersion200Response) public async System.Threading.Tasks.Task> GetNodesSingleVersionWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVersion"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVersion"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/version", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVersion", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleQemuSingleVncwebsocket200Response public GetNodesSingleQemuSingleVncwebsocket200Response GetNodesSingleVncwebsocket(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleVncwebsocketWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleQemuSingleVncwebsocket200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleVncwebsocketWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVncwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVncwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/vncwebsocket", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVncwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleQemuSingleVncwebsocket200Response public async System.Threading.Tasks.Task GetNodesSingleVncwebsocketAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleVncwebsocketWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleVncwebsocket Opens a websocket for VNC traffic. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleQemuSingleVncwebsocket200Response) public async System.Threading.Tasks.Task> GetNodesSingleVncwebsocketWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVncwebsocket"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVncwebsocket"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/vncwebsocket", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVncwebsocket", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVzdumpDefaults Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetNodesSingleVzdumpDefaults200Response public GetNodesSingleVzdumpDefaults200Response GetNodesSingleVzdumpDefaults(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleVzdumpDefaultsWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleVzdumpDefaults Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetNodesSingleVzdumpDefaults200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleVzdumpDefaultsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVzdumpDefaults"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVzdumpDefaults"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/vzdump/defaults", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVzdumpDefaults", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVzdumpDefaults Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetNodesSingleVzdumpDefaults200Response public async System.Threading.Tasks.Task GetNodesSingleVzdumpDefaultsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleVzdumpDefaultsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleVzdumpDefaults Get the currently configured vzdump defaults. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetNodesSingleVzdumpDefaults200Response) public async System.Threading.Tasks.Task> GetNodesSingleVzdumpDefaultsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVzdumpDefaults"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVzdumpDefaults"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/vzdump/defaults", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVzdumpDefaults", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVzdumpExtractconfig Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response GetNodesSingleVzdumpExtractconfig(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetNodesSingleVzdumpExtractconfigWithHttpInfo(node); return localVarResponse.Data; } /// /// getNodesSingleVzdumpExtractconfig Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse GetNodesSingleVzdumpExtractconfigWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVzdumpExtractconfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVzdumpExtractconfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/vzdump/extractconfig", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVzdumpExtractconfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getNodesSingleVzdumpExtractconfig Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task GetNodesSingleVzdumpExtractconfigAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetNodesSingleVzdumpExtractconfigWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getNodesSingleVzdumpExtractconfig Extract configuration from vzdump backup archive. /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> GetNodesSingleVzdumpExtractconfigWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetNodesSingleVzdumpExtractconfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetNodesSingleVzdumpExtractconfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/vzdump/extractconfig", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetNodesSingleVzdumpExtractconfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getPool Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// GetPool200Response public GetPool200Response GetPool(string poolid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetPoolWithHttpInfo(poolid); return localVarResponse.Data; } /// /// getPool Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// ApiResponse of GetPool200Response public ProxmoxSharp.Client.ApiResponse GetPoolWithHttpInfo(string poolid, int operationIndex = 0) { // verify the required parameter 'poolid' is set if (poolid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'poolid' when calling ProxmoxGeneratedApi->GetPool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("poolid", ProxmoxSharp.Client.ClientUtils.ParameterToString(poolid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetPool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/pools/{poolid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetPool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getPool Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetPool200Response public async System.Threading.Tasks.Task GetPoolAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetPoolWithHttpInfoAsync(poolid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getPool Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}'). /// /// Thrown when fails to make API call /// poolid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetPool200Response) public async System.Threading.Tasks.Task> GetPoolWithHttpInfoAsync(string poolid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'poolid' is set if (poolid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'poolid' when calling ProxmoxGeneratedApi->GetPool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("poolid", ProxmoxSharp.Client.ClientUtils.ParameterToString(poolid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetPool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/pools/{poolid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetPool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getPools List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetPools200Response public GetPools200Response GetPools(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetPoolsWithHttpInfo(); return localVarResponse.Data; } /// /// getPools List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetPools200Response public ProxmoxSharp.Client.ApiResponse GetPoolsWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetPools"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/pools", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetPools", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getPools List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetPools200Response public async System.Threading.Tasks.Task GetPoolsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetPoolsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getPools List pools or get pool configuration. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetPools200Response) public async System.Threading.Tasks.Task> GetPoolsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetPools"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/pools", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetPools", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getStorage Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetStorage200Response public GetStorage200Response GetStorage(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetStorageWithHttpInfo(); return localVarResponse.Data; } /// /// getStorage Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetStorage200Response public ProxmoxSharp.Client.ApiResponse GetStorageWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetStorage"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/storage", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetStorage", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getStorage Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetStorage200Response public async System.Threading.Tasks.Task GetStorageAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetStorageWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getStorage Storage index. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetStorage200Response) public async System.Threading.Tasks.Task> GetStorageWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetStorage"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/storage", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetStorage", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getStorageSingle Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetStorageSingle(string storage, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetStorageSingleWithHttpInfo(storage); return localVarResponse.Data; } /// /// getStorageSingle Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetStorageSingleWithHttpInfo(string storage, int operationIndex = 0) { // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/storage/{storage}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getStorageSingle Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetStorageSingleAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetStorageSingleWithHttpInfoAsync(storage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getStorageSingle Read storage configuration. /// /// Thrown when fails to make API call /// storage /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetStorageSingleWithHttpInfoAsync(string storage, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->GetStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/storage/{storage}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVM Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetVM(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVM Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetVMWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVM Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetVMAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVM Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetVMWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMConfig Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMConfig200Response public GetVMConfig200Response GetVMConfig(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMConfigWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMConfig Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMConfig200Response public ProxmoxSharp.Client.ApiResponse GetVMConfigWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMConfig Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMConfig200Response public async System.Threading.Tasks.Task GetVMConfigAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMConfigWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMConfig Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMConfig200Response) public async System.Threading.Tasks.Task> GetVMConfigWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMConfigPending Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMConfigPending200Response public GetVMConfigPending200Response GetVMConfigPending(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMConfigPendingWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMConfigPending Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMConfigPending200Response public ProxmoxSharp.Client.ApiResponse GetVMConfigPendingWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMConfigPending"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMConfigPending"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/pending", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMConfigPending", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMConfigPending Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMConfigPending200Response public async System.Threading.Tasks.Task GetVMConfigPendingAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMConfigPendingWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMConfigPending Get the virtual machine configuration with both current and pending values. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMConfigPending200Response) public async System.Threading.Tasks.Task> GetVMConfigPendingWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMConfigPending"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMConfigPending"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/pending", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMConfigPending", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetVMFirewall(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetVMFirewallAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewall Directory index. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetVMFirewallWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewall"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewall"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewall", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSet200Response public GetClusterFirewallIPSet200Response GetVMFirewallIPSet(string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallIPSetWithHttpInfo(name, node, vmid); return localVarResponse.Data; } /// /// getVMFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSet200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallIPSetWithHttpInfo(string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetVMFirewallIPSet"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSet200Response public async System.Threading.Tasks.Task GetVMFirewallIPSetAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallIPSetWithHttpInfoAsync(name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewallIPSet List IPSet content /// /// Thrown when fails to make API call /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSet200Response) public async System.Threading.Tasks.Task> GetVMFirewallIPSetWithHttpInfoAsync(string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetVMFirewallIPSet"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallIPSet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallIPSet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallIPSet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetVMFirewallIPSetIP(string cidr, string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallIPSetIPWithHttpInfo(cidr, name, node, vmid); return localVarResponse.Data; } /// /// getVMFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallIPSetIPWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->GetVMFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetVMFirewallIPSetIPAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallIPSetIPWithHttpInfoAsync(cidr, name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewallIPSetIP Read IP or Network settings from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetVMFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->GetVMFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->GetVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallIPSets200Response public GetClusterFirewallIPSets200Response GetVMFirewallIPSets(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallIPSetsWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallIPSets200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallIPSetsWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallIPSets"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallIPSets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallIPSets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallIPSets200Response public async System.Threading.Tasks.Task GetVMFirewallIPSetsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallIPSetsWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewallIPSets List IPSets /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallIPSets200Response) public async System.Threading.Tasks.Task> GetVMFirewallIPSetsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallIPSets"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallIPSets"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallIPSets", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMFirewallOptions200Response public GetVMFirewallOptions200Response GetVMFirewallOptions(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallOptionsWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMFirewallOptions200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallOptionsWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMFirewallOptions200Response public async System.Threading.Tasks.Task GetVMFirewallOptionsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallOptionsWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewallOptions Get VM firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMFirewallOptions200Response) public async System.Threading.Tasks.Task> GetVMFirewallOptionsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRule200Response public GetClusterFirewallGroupRule200Response GetVMFirewallRule(string node, int pos, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallRuleWithHttpInfo(node, pos, vmid); return localVarResponse.Data; } /// /// getVMFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRule200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallRuleWithHttpInfo(string node, int pos, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRule200Response public async System.Threading.Tasks.Task GetVMFirewallRuleAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallRuleWithHttpInfoAsync(node, pos, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewallRule Get single rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRule200Response) public async System.Threading.Tasks.Task> GetVMFirewallRuleWithHttpInfoAsync(string node, int pos, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterFirewallGroupRules200Response public GetClusterFirewallGroupRules200Response GetVMFirewallRules(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMFirewallRulesWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterFirewallGroupRules200Response public ProxmoxSharp.Client.ApiResponse GetVMFirewallRulesWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterFirewallGroupRules200Response public async System.Threading.Tasks.Task GetVMFirewallRulesAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMFirewallRulesWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMFirewallRules List rules. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterFirewallGroupRules200Response) public async System.Threading.Tasks.Task> GetVMFirewallRulesWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMFirewallRules"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMFirewallRules"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/firewall/rules", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMFirewallRules", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMRRD Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMRRD200Response public GetVMRRD200Response GetVMRRD(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMRRDWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMRRD Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMRRD200Response public ProxmoxSharp.Client.ApiResponse GetVMRRDWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMRRD"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMRRD"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/rrd", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMRRD", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMRRD Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMRRD200Response public async System.Threading.Tasks.Task GetVMRRDAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMRRDWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMRRD Read VM RRD statistics (returns PNG) /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMRRD200Response) public async System.Threading.Tasks.Task> GetVMRRDWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMRRD"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMRRD"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/rrd", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMRRD", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMRRDData Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetVMRRDData(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMRRDDataWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMRRDData Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetVMRRDDataWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMRRDData"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMRRDData"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/rrddata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMRRDData", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMRRDData Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetVMRRDDataAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMRRDDataWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMRRDData Read VM RRD statistics /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetVMRRDDataWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMRRDData"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMRRDData"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/rrddata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMRRDData", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMSnapshot getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetCluster200Response public GetCluster200Response GetVMSnapshot(string node, string snapname, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMSnapshotWithHttpInfo(node, snapname, vmid); return localVarResponse.Data; } /// /// getVMSnapshot getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetCluster200Response public ProxmoxSharp.Client.ApiResponse GetVMSnapshotWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMSnapshot"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMSnapshot getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetCluster200Response public async System.Threading.Tasks.Task GetVMSnapshotAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMSnapshotWithHttpInfoAsync(node, snapname, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMSnapshot getVMSnapshot /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetCluster200Response) public async System.Threading.Tasks.Task> GetVMSnapshotWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMSnapshot"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMSnapshotConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// GetClusterMetricsServerSingle200Response public GetClusterMetricsServerSingle200Response GetVMSnapshotConfig(string node, string snapname, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMSnapshotConfigWithHttpInfo(node, snapname, vmid); return localVarResponse.Data; } /// /// getVMSnapshotConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterMetricsServerSingle200Response public ProxmoxSharp.Client.ApiResponse GetVMSnapshotConfigWithHttpInfo(string node, string snapname, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMSnapshotConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetVMSnapshotConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMSnapshotConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMSnapshotConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMSnapshotConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterMetricsServerSingle200Response public async System.Threading.Tasks.Task GetVMSnapshotConfigAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMSnapshotConfigWithHttpInfoAsync(node, snapname, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMSnapshotConfig Get snapshot configuration /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterMetricsServerSingle200Response) public async System.Threading.Tasks.Task> GetVMSnapshotConfigWithHttpInfoAsync(string node, string snapname, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMSnapshotConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->GetVMSnapshotConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMSnapshotConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMSnapshotConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMSnapshots List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetVMSnapshots200Response public GetVMSnapshots200Response GetVMSnapshots(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMSnapshotsWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMSnapshots List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetVMSnapshots200Response public ProxmoxSharp.Client.ApiResponse GetVMSnapshotsWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMSnapshots"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMSnapshots"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/snapshot", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMSnapshots", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMSnapshots List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMSnapshots200Response public async System.Threading.Tasks.Task GetVMSnapshotsAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMSnapshotsWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMSnapshots List all snapshots. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMSnapshots200Response) public async System.Threading.Tasks.Task> GetVMSnapshotsWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMSnapshots"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMSnapshots"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/snapshot", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMSnapshots", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// GetClusterSdnFabrics200Response public GetClusterSdnFabrics200Response GetVMStatus(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMStatusWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// getVMStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of GetClusterSdnFabrics200Response public ProxmoxSharp.Client.ApiResponse GetVMStatusWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/status", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterSdnFabrics200Response public async System.Threading.Tasks.Task GetVMStatusAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMStatusWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMStatus Directory index /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterSdnFabrics200Response) public async System.Threading.Tasks.Task> GetVMStatusWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMStatus"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMStatus"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/status", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMStatus", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMs Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// GetVMs200Response public GetVMs200Response GetVMs(string node, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVMsWithHttpInfo(node); return localVarResponse.Data; } /// /// getVMs Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// ApiResponse of GetVMs200Response public ProxmoxSharp.Client.ApiResponse GetVMsWithHttpInfo(string node, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVMs Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVMs200Response public async System.Threading.Tasks.Task GetVMsAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVMsWithHttpInfoAsync(node, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVMs Virtual machine index (per node). /// /// Thrown when fails to make API call /// node /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVMs200Response) public async System.Threading.Tasks.Task> GetVMsWithHttpInfoAsync(string node, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->GetVMs"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVMs"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVMs", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVersion API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// GetVersion200Response public GetVersion200Response GetVersion(int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = GetVersionWithHttpInfo(); return localVarResponse.Data; } /// /// getVersion API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of GetVersion200Response public ProxmoxSharp.Client.ApiResponse GetVersionWithHttpInfo(int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVersion"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/version", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVersion", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// getVersion API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetVersion200Response public async System.Threading.Tasks.Task GetVersionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await GetVersionWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// getVersion API version details, including some parts of the global datacenter config. /// /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetVersion200Response) public async System.Threading.Tasks.Task> GetVersionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Operation = "ProxmoxGeneratedApi.GetVersion"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/version", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVersion", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// migrateVM Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// MigrateVM200Response public MigrateVM200Response MigrateVM(string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = MigrateVMWithHttpInfo(node, vmid); return localVarResponse.Data; } /// /// migrateVM Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// ApiResponse of MigrateVM200Response public ProxmoxSharp.Client.ApiResponse MigrateVMWithHttpInfo(string node, int vmid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->MigrateVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.MigrateVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Get("/nodes/{node}/qemu/{vmid}/migrate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("MigrateVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// migrateVM Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of MigrateVM200Response public async System.Threading.Tasks.Task MigrateVMAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await MigrateVMWithHttpInfoAsync(node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// migrateVM Get preconditions for migration. /// /// Thrown when fails to make API call /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (MigrateVM200Response) public async System.Threading.Tasks.Task> MigrateVMWithHttpInfoAsync(string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->MigrateVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.MigrateVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.GetAsync("/nodes/{node}/qemu/{vmid}/migrate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("MigrateVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// rebootVM Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response RebootVM(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = RebootVMWithHttpInfo(node, vmid, rebootVMRequest); return localVarResponse.Data; } /// /// rebootVM Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse RebootVMWithHttpInfo(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->RebootVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = rebootVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RebootVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/reboot", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RebootVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// rebootVM Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task RebootVMAsync(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await RebootVMWithHttpInfoAsync(node, vmid, rebootVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// rebootVM Reboot the VM by shutting it down, and starting it again. Applies pending changes. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> RebootVMWithHttpInfoAsync(string node, int vmid, RebootVMRequest? rebootVMRequest = default(RebootVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->RebootVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = rebootVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RebootVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/reboot", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RebootVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeClusterFirewallGroupRule Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response RemoveClusterFirewallGroupRule(string group, int pos, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = RemoveClusterFirewallGroupRuleWithHttpInfo(group, pos); return localVarResponse.Data; } /// /// removeClusterFirewallGroupRule Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse RemoveClusterFirewallGroupRuleWithHttpInfo(string group, int pos, int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->RemoveClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/firewall/groups/{group}/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeClusterFirewallGroupRule Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task RemoveClusterFirewallGroupRuleAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await RemoveClusterFirewallGroupRuleWithHttpInfoAsync(group, pos, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// removeClusterFirewallGroupRule Delete rule. /// /// Thrown when fails to make API call /// group /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> RemoveClusterFirewallGroupRuleWithHttpInfoAsync(string group, int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->RemoveClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/firewall/groups/{group}/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeClusterFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response RemoveClusterFirewallIPSetIP(string cidr, string name, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = RemoveClusterFirewallIPSetIPWithHttpInfo(cidr, name); return localVarResponse.Data; } /// /// removeClusterFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse RemoveClusterFirewallIPSetIPWithHttpInfo(string cidr, string name, int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->RemoveClusterFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->RemoveClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeClusterFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task RemoveClusterFirewallIPSetIPAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await RemoveClusterFirewallIPSetIPWithHttpInfoAsync(cidr, name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// removeClusterFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> RemoveClusterFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->RemoveClusterFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->RemoveClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeClusterFirewallRule Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response RemoveClusterFirewallRule(int pos, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = RemoveClusterFirewallRuleWithHttpInfo(pos); return localVarResponse.Data; } /// /// removeClusterFirewallRule Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse RemoveClusterFirewallRuleWithHttpInfo(int pos, int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/cluster/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeClusterFirewallRule Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task RemoveClusterFirewallRuleAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await RemoveClusterFirewallRuleWithHttpInfoAsync(pos, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// removeClusterFirewallRule Delete rule. /// /// Thrown when fails to make API call /// pos /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> RemoveClusterFirewallRuleWithHttpInfoAsync(int pos, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/cluster/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeVMFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response RemoveVMFirewallIPSetIP(string cidr, string name, string node, int vmid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = RemoveVMFirewallIPSetIPWithHttpInfo(cidr, name, node, vmid); return localVarResponse.Data; } /// /// removeVMFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse RemoveVMFirewallIPSetIPWithHttpInfo(string cidr, string name, string node, int vmid, int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->RemoveVMFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->RemoveVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->RemoveVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// removeVMFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task RemoveVMFirewallIPSetIPAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await RemoveVMFirewallIPSetIPWithHttpInfoAsync(cidr, name, node, vmid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// removeVMFirewallIPSetIP Remove IP or Network from IPSet. /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> RemoveVMFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, string node, int vmid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->RemoveVMFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->RemoveVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->RemoveVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RemoveVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RemoveVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// resetVM Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response ResetVM(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = ResetVMWithHttpInfo(node, vmid, resetVMRequest); return localVarResponse.Data; } /// /// resetVM Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse ResetVMWithHttpInfo(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ResetVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = resetVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ResetVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/reset", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ResetVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// resetVM Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task ResetVMAsync(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await ResetVMWithHttpInfoAsync(node, vmid, resetVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// resetVM Reset virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> ResetVMWithHttpInfoAsync(string node, int vmid, ResetVMRequest? resetVMRequest = default(ResetVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ResetVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = resetVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ResetVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/reset", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ResetVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// resizeVMDisk Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response ResizeVMDisk(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = ResizeVMDiskWithHttpInfo(node, vmid, resizeVMDiskRequest); return localVarResponse.Data; } /// /// resizeVMDisk Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse ResizeVMDiskWithHttpInfo(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ResizeVMDisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = resizeVMDiskRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ResizeVMDisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/resize", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ResizeVMDisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// resizeVMDisk Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task ResizeVMDiskAsync(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await ResizeVMDiskWithHttpInfoAsync(node, vmid, resizeVMDiskRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// resizeVMDisk Extend volume size. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> ResizeVMDiskWithHttpInfoAsync(string node, int vmid, ResizeVMDiskRequest? resizeVMDiskRequest = default(ResizeVMDiskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ResizeVMDisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = resizeVMDiskRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ResizeVMDisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/resize", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ResizeVMDisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// resumeVM Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response ResumeVM(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = ResumeVMWithHttpInfo(node, vmid, resumeVMRequest); return localVarResponse.Data; } /// /// resumeVM Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse ResumeVMWithHttpInfo(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ResumeVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = resumeVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ResumeVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/resume", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ResumeVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// resumeVM Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task ResumeVMAsync(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await ResumeVMWithHttpInfoAsync(node, vmid, resumeVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// resumeVM Resume virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> ResumeVMWithHttpInfoAsync(string node, int vmid, ResumeVMRequest? resumeVMRequest = default(ResumeVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ResumeVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = resumeVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ResumeVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/resume", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ResumeVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// rollbackVMSnapshot Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response RollbackVMSnapshot(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = RollbackVMSnapshotWithHttpInfo(node, snapname, vmid, rollbackVMSnapshotRequest); return localVarResponse.Data; } /// /// rollbackVMSnapshot Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse RollbackVMSnapshotWithHttpInfo(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->RollbackVMSnapshot"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->RollbackVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = rollbackVMSnapshotRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RollbackVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RollbackVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// rollbackVMSnapshot Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task RollbackVMSnapshotAsync(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await RollbackVMSnapshotWithHttpInfoAsync(node, snapname, vmid, rollbackVMSnapshotRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// rollbackVMSnapshot Rollback VM state to specified snapshot. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> RollbackVMSnapshotWithHttpInfoAsync(string node, string snapname, int vmid, RollbackVMSnapshotRequest? rollbackVMSnapshotRequest = default(RollbackVMSnapshotRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->RollbackVMSnapshot"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->RollbackVMSnapshot"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = rollbackVMSnapshotRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.RollbackVMSnapshot"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("RollbackVMSnapshot", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// shutdownVM Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response ShutdownVM(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = ShutdownVMWithHttpInfo(node, vmid, shutdownVMRequest); return localVarResponse.Data; } /// /// shutdownVM Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse ShutdownVMWithHttpInfo(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ShutdownVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = shutdownVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ShutdownVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/shutdown", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ShutdownVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// shutdownVM Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task ShutdownVMAsync(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await ShutdownVMWithHttpInfoAsync(node, vmid, shutdownVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// shutdownVM Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> ShutdownVMWithHttpInfoAsync(string node, int vmid, ShutdownVMRequest? shutdownVMRequest = default(ShutdownVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->ShutdownVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = shutdownVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.ShutdownVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/shutdown", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("ShutdownVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// startVM Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response StartVM(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = StartVMWithHttpInfo(node, vmid, startVMRequest); return localVarResponse.Data; } /// /// startVM Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse StartVMWithHttpInfo(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->StartVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = startVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.StartVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/start", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("StartVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// startVM Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task StartVMAsync(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await StartVMWithHttpInfoAsync(node, vmid, startVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// startVM Start virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> StartVMWithHttpInfoAsync(string node, int vmid, StartVMRequest? startVMRequest = default(StartVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->StartVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = startVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.StartVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/start", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("StartVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// stopNodeTask Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response StopNodeTask(string node, string upid, int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = StopNodeTaskWithHttpInfo(node, upid); return localVarResponse.Data; } /// /// stopNodeTask Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse StopNodeTaskWithHttpInfo(string node, string upid, int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->StopNodeTask"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->StopNodeTask"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.StopNodeTask"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Delete("/nodes/{node}/tasks/{upid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("StopNodeTask", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// stopNodeTask Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task StopNodeTaskAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await StopNodeTaskWithHttpInfoAsync(node, upid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// stopNodeTask Stop a task. /// /// Thrown when fails to make API call /// node /// upid /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> StopNodeTaskWithHttpInfoAsync(string node, string upid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->StopNodeTask"); } // verify the required parameter 'upid' is set if (upid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'upid' when calling ProxmoxGeneratedApi->StopNodeTask"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("upid", ProxmoxSharp.Client.ClientUtils.ParameterToString(upid)); // path parameter localVarRequestOptions.Operation = "ProxmoxGeneratedApi.StopNodeTask"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.DeleteAsync("/nodes/{node}/tasks/{upid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("StopNodeTask", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// stopVM Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response StopVM(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = StopVMWithHttpInfo(node, vmid, stopVMRequest); return localVarResponse.Data; } /// /// stopVM Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse StopVMWithHttpInfo(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->StopVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = stopVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.StopVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/stop", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("StopVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// stopVM Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task StopVMAsync(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await StopVMWithHttpInfoAsync(node, vmid, stopVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// stopVM Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> StopVMWithHttpInfoAsync(string node, int vmid, StopVMRequest? stopVMRequest = default(StopVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->StopVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = stopVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.StopVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/stop", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("StopVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// suspendVM Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response SuspendVM(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = SuspendVMWithHttpInfo(node, vmid, suspendVMRequest); return localVarResponse.Data; } /// /// suspendVM Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse SuspendVMWithHttpInfo(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->SuspendVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = suspendVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.SuspendVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/status/suspend", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("SuspendVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// suspendVM Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task SuspendVMAsync(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await SuspendVMWithHttpInfoAsync(node, vmid, suspendVMRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// suspendVM Suspend virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> SuspendVMWithHttpInfoAsync(string node, int vmid, SuspendVMRequest? suspendVMRequest = default(SuspendVMRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->SuspendVM"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = suspendVMRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.SuspendVM"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/status/suspend", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("SuspendVM", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// unlinkVMDiskImages Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UnlinkVMDiskImages(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UnlinkVMDiskImagesWithHttpInfo(node, vmid, unlinkVMDiskImagesRequest); return localVarResponse.Data; } /// /// unlinkVMDiskImages Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UnlinkVMDiskImagesWithHttpInfo(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UnlinkVMDiskImages"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = unlinkVMDiskImagesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UnlinkVMDiskImages"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/unlink", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UnlinkVMDiskImages", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// unlinkVMDiskImages Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UnlinkVMDiskImagesAsync(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UnlinkVMDiskImagesWithHttpInfoAsync(node, vmid, unlinkVMDiskImagesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// unlinkVMDiskImages Unlink/delete disk images. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UnlinkVMDiskImagesWithHttpInfoAsync(string node, int vmid, UnlinkVMDiskImagesRequest? unlinkVMDiskImagesRequest = default(UnlinkVMDiskImagesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UnlinkVMDiskImages"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = unlinkVMDiskImagesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UnlinkVMDiskImages"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/unlink", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UnlinkVMDiskImages", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessAcl Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessAcl(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessAclWithHttpInfo(updateAccessAclRequest); return localVarResponse.Data; } /// /// updateAccessAcl Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessAclWithHttpInfo(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateAccessAclRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessAcl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/acl", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessAcl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessAcl Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessAclAsync(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessAclWithHttpInfoAsync(updateAccessAclRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessAcl Update Access Control List (add or remove permissions). /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessAclWithHttpInfoAsync(UpdateAccessAclRequest? updateAccessAclRequest = default(UpdateAccessAclRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateAccessAclRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessAcl"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/acl", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessAcl", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessDomainsSingle Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessDomainsSingle(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessDomainsSingleWithHttpInfo(realm, updateAccessDomainsSingleRequest); return localVarResponse.Data; } /// /// updateAccessDomainsSingle Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessDomainsSingleWithHttpInfo(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->UpdateAccessDomainsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Data = updateAccessDomainsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessDomainsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/domains/{realm}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessDomainsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessDomainsSingle Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessDomainsSingleAsync(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessDomainsSingleWithHttpInfoAsync(realm, updateAccessDomainsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessDomainsSingle Update authentication server settings. /// /// Thrown when fails to make API call /// realm /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessDomainsSingleWithHttpInfoAsync(string realm, UpdateAccessDomainsSingleRequest? updateAccessDomainsSingleRequest = default(UpdateAccessDomainsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'realm' is set if (realm == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'realm' when calling ProxmoxGeneratedApi->UpdateAccessDomainsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("realm", ProxmoxSharp.Client.ClientUtils.ParameterToString(realm)); // path parameter localVarRequestOptions.Data = updateAccessDomainsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessDomainsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/domains/{realm}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessDomainsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessGroupsSingle Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessGroupsSingle(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessGroupsSingleWithHttpInfo(groupid, updateAccessGroupsSingleRequest); return localVarResponse.Data; } /// /// updateAccessGroupsSingle Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessGroupsSingleWithHttpInfo(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'groupid' is set if (groupid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'groupid' when calling ProxmoxGeneratedApi->UpdateAccessGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("groupid", ProxmoxSharp.Client.ClientUtils.ParameterToString(groupid)); // path parameter localVarRequestOptions.Data = updateAccessGroupsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/groups/{groupid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessGroupsSingle Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessGroupsSingleAsync(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessGroupsSingleWithHttpInfoAsync(groupid, updateAccessGroupsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessGroupsSingle Update group data. /// /// Thrown when fails to make API call /// groupid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessGroupsSingleWithHttpInfoAsync(string groupid, UpdateAccessGroupsSingleRequest? updateAccessGroupsSingleRequest = default(UpdateAccessGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'groupid' is set if (groupid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'groupid' when calling ProxmoxGeneratedApi->UpdateAccessGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("groupid", ProxmoxSharp.Client.ClientUtils.ParameterToString(groupid)); // path parameter localVarRequestOptions.Data = updateAccessGroupsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/groups/{groupid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessPassword Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessPassword(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessPasswordWithHttpInfo(updateAccessPasswordRequest); return localVarResponse.Data; } /// /// updateAccessPassword Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessPasswordWithHttpInfo(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateAccessPasswordRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessPassword"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/password", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessPassword", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessPassword Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessPasswordAsync(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessPasswordWithHttpInfoAsync(updateAccessPasswordRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessPassword Change user password. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessPasswordWithHttpInfoAsync(UpdateAccessPasswordRequest? updateAccessPasswordRequest = default(UpdateAccessPasswordRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateAccessPasswordRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessPassword"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/password", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessPassword", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessRolesSingle Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessRolesSingle(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessRolesSingleWithHttpInfo(roleid, updateAccessRolesSingleRequest); return localVarResponse.Data; } /// /// updateAccessRolesSingle Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessRolesSingleWithHttpInfo(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'roleid' is set if (roleid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'roleid' when calling ProxmoxGeneratedApi->UpdateAccessRolesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("roleid", ProxmoxSharp.Client.ClientUtils.ParameterToString(roleid)); // path parameter localVarRequestOptions.Data = updateAccessRolesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessRolesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/roles/{roleid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessRolesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessRolesSingle Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessRolesSingleAsync(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessRolesSingleWithHttpInfoAsync(roleid, updateAccessRolesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessRolesSingle Update an existing role. /// /// Thrown when fails to make API call /// roleid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessRolesSingleWithHttpInfoAsync(string roleid, UpdateAccessRolesSingleRequest? updateAccessRolesSingleRequest = default(UpdateAccessRolesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'roleid' is set if (roleid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'roleid' when calling ProxmoxGeneratedApi->UpdateAccessRolesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("roleid", ProxmoxSharp.Client.ClientUtils.ParameterToString(roleid)); // path parameter localVarRequestOptions.Data = updateAccessRolesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessRolesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/roles/{roleid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessRolesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessTfaSingleSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessTfaSingleSingle(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessTfaSingleSingleWithHttpInfo(id, userid, updateAccessTfaSingleSingleRequest); return localVarResponse.Data; } /// /// updateAccessTfaSingleSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessTfaSingleSingleWithHttpInfo(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateAccessTfaSingleSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessTfaSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = updateAccessTfaSingleSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessTfaSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/tfa/{userid}/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessTfaSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessTfaSingleSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessTfaSingleSingleAsync(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessTfaSingleSingleWithHttpInfoAsync(id, userid, updateAccessTfaSingleSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessTfaSingleSingle Add a TFA entry for a user. /// /// Thrown when fails to make API call /// id /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessTfaSingleSingleWithHttpInfoAsync(string id, string userid, UpdateAccessTfaSingleSingleRequest? updateAccessTfaSingleSingleRequest = default(UpdateAccessTfaSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateAccessTfaSingleSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessTfaSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = updateAccessTfaSingleSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessTfaSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/tfa/{userid}/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessTfaSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessUsersSingle Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateAccessUsersSingle(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessUsersSingleWithHttpInfo(userid, updateAccessUsersSingleRequest); return localVarResponse.Data; } /// /// updateAccessUsersSingle Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessUsersSingleWithHttpInfo(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = updateAccessUsersSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessUsersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/users/{userid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessUsersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessUsersSingle Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateAccessUsersSingleAsync(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessUsersSingleWithHttpInfoAsync(userid, updateAccessUsersSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessUsersSingle Update user configuration. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateAccessUsersSingleWithHttpInfoAsync(string userid, UpdateAccessUsersSingleRequest? updateAccessUsersSingleRequest = default(UpdateAccessUsersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = updateAccessUsersSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessUsersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/users/{userid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessUsersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessUsersSingleTokenSingle Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// UpdateAccessUsersSingleTokenSingle200Response public UpdateAccessUsersSingleTokenSingle200Response UpdateAccessUsersSingleTokenSingle(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessUsersSingleTokenSingleWithHttpInfo(tokenid, userid, updateAccessUsersSingleTokenSingleRequest); return localVarResponse.Data; } /// /// updateAccessUsersSingleTokenSingle Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of UpdateAccessUsersSingleTokenSingle200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessUsersSingleTokenSingleWithHttpInfo(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = updateAccessUsersSingleTokenSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessUsersSingleTokenSingle Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of UpdateAccessUsersSingleTokenSingle200Response public async System.Threading.Tasks.Task UpdateAccessUsersSingleTokenSingleAsync(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessUsersSingleTokenSingleWithHttpInfoAsync(tokenid, userid, updateAccessUsersSingleTokenSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessUsersSingleTokenSingle Update API token for a specific user. /// /// Thrown when fails to make API call /// tokenid /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (UpdateAccessUsersSingleTokenSingle200Response) public async System.Threading.Tasks.Task> UpdateAccessUsersSingleTokenSingleWithHttpInfoAsync(string tokenid, string userid, UpdateAccessUsersSingleTokenSingleRequest? updateAccessUsersSingleTokenSingleRequest = default(UpdateAccessUsersSingleTokenSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'tokenid' is set if (tokenid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'tokenid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingleTokenSingle"); } // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingleTokenSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("tokenid", ProxmoxSharp.Client.ClientUtils.ParameterToString(tokenid)); // path parameter localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = updateAccessUsersSingleTokenSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessUsersSingleTokenSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/users/{userid}/token/{tokenid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessUsersSingleTokenSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessUsersSingleUnlocktfa Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// GetClusterCephFlagsSingle200Response public GetClusterCephFlagsSingle200Response UpdateAccessUsersSingleUnlocktfa(string userid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateAccessUsersSingleUnlocktfaWithHttpInfo(userid, body); return localVarResponse.Data; } /// /// updateAccessUsersSingleUnlocktfa Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// ApiResponse of GetClusterCephFlagsSingle200Response public ProxmoxSharp.Client.ApiResponse UpdateAccessUsersSingleUnlocktfaWithHttpInfo(string userid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingleUnlocktfa"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessUsersSingleUnlocktfa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/access/users/{userid}/unlock-tfa", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessUsersSingleUnlocktfa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateAccessUsersSingleUnlocktfa Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GetClusterCephFlagsSingle200Response public async System.Threading.Tasks.Task UpdateAccessUsersSingleUnlocktfaAsync(string userid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateAccessUsersSingleUnlocktfaWithHttpInfoAsync(userid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateAccessUsersSingleUnlocktfa Unlock a user's TFA authentication. /// /// Thrown when fails to make API call /// userid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetClusterCephFlagsSingle200Response) public async System.Threading.Tasks.Task> UpdateAccessUsersSingleUnlocktfaWithHttpInfoAsync(string userid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'userid' is set if (userid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'userid' when calling ProxmoxGeneratedApi->UpdateAccessUsersSingleUnlocktfa"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("userid", ProxmoxSharp.Client.ClientUtils.ParameterToString(userid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateAccessUsersSingleUnlocktfa"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/access/users/{userid}/unlock-tfa", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateAccessUsersSingleUnlocktfa", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterAcmeAccountSingle Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterAcmeAccountSingle(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterAcmeAccountSingleWithHttpInfo(name, updateClusterAcmeAccountSingleRequest); return localVarResponse.Data; } /// /// updateClusterAcmeAccountSingle Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterAcmeAccountSingleWithHttpInfo(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterAcmeAccountSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterAcmeAccountSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterAcmeAccountSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/acme/account/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterAcmeAccountSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterAcmeAccountSingle Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterAcmeAccountSingleAsync(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterAcmeAccountSingleWithHttpInfoAsync(name, updateClusterAcmeAccountSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterAcmeAccountSingle Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterAcmeAccountSingleWithHttpInfoAsync(string name, UpdateClusterAcmeAccountSingleRequest? updateClusterAcmeAccountSingleRequest = default(UpdateClusterAcmeAccountSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterAcmeAccountSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterAcmeAccountSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterAcmeAccountSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/acme/account/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterAcmeAccountSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterAcmePluginsSingle Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterAcmePluginsSingle(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterAcmePluginsSingleWithHttpInfo(id, updateClusterAcmePluginsSingleRequest); return localVarResponse.Data; } /// /// updateClusterAcmePluginsSingle Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterAcmePluginsSingleWithHttpInfo(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterAcmePluginsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterAcmePluginsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterAcmePluginsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/acme/plugins/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterAcmePluginsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterAcmePluginsSingle Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterAcmePluginsSingleAsync(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterAcmePluginsSingleWithHttpInfoAsync(id, updateClusterAcmePluginsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterAcmePluginsSingle Update ACME plugin configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterAcmePluginsSingleWithHttpInfoAsync(string id, UpdateClusterAcmePluginsSingleRequest? updateClusterAcmePluginsSingleRequest = default(UpdateClusterAcmePluginsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterAcmePluginsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterAcmePluginsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterAcmePluginsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/acme/plugins/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterAcmePluginsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterBackupSingle Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterBackupSingle(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterBackupSingleWithHttpInfo(id, updateClusterBackupSingleRequest); return localVarResponse.Data; } /// /// updateClusterBackupSingle Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterBackupSingleWithHttpInfo(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterBackupSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterBackupSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterBackupSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/backup/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterBackupSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterBackupSingle Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterBackupSingleAsync(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterBackupSingleWithHttpInfoAsync(id, updateClusterBackupSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterBackupSingle Update vzdump backup job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterBackupSingleWithHttpInfoAsync(string id, UpdateClusterBackupSingleRequest? updateClusterBackupSingleRequest = default(UpdateClusterBackupSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterBackupSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterBackupSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterBackupSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/backup/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterBackupSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterCephFlags Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterCephFlags(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterCephFlagsWithHttpInfo(updateClusterCephFlagsRequest); return localVarResponse.Data; } /// /// updateClusterCephFlags Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterCephFlagsWithHttpInfo(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterCephFlagsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterCephFlags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/ceph/flags", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterCephFlags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterCephFlags Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterCephFlagsAsync(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterCephFlagsWithHttpInfoAsync(updateClusterCephFlagsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterCephFlags Set/Unset multiple ceph flags at once. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterCephFlagsWithHttpInfoAsync(UpdateClusterCephFlagsRequest? updateClusterCephFlagsRequest = default(UpdateClusterCephFlagsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterCephFlagsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterCephFlags"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/ceph/flags", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterCephFlags", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterCephFlagsSingle Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterCephFlagsSingle(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterCephFlagsSingleWithHttpInfo(flag, updateClusterCephFlagsSingleRequest); return localVarResponse.Data; } /// /// updateClusterCephFlagsSingle Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterCephFlagsSingleWithHttpInfo(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'flag' is set if (flag == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'flag' when calling ProxmoxGeneratedApi->UpdateClusterCephFlagsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("flag", ProxmoxSharp.Client.ClientUtils.ParameterToString(flag)); // path parameter localVarRequestOptions.Data = updateClusterCephFlagsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterCephFlagsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/ceph/flags/{flag}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterCephFlagsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterCephFlagsSingle Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterCephFlagsSingleAsync(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterCephFlagsSingleWithHttpInfoAsync(flag, updateClusterCephFlagsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterCephFlagsSingle Set or clear (unset) a specific ceph flag /// /// Thrown when fails to make API call /// flag /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterCephFlagsSingleWithHttpInfoAsync(string flag, UpdateClusterCephFlagsSingleRequest? updateClusterCephFlagsSingleRequest = default(UpdateClusterCephFlagsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'flag' is set if (flag == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'flag' when calling ProxmoxGeneratedApi->UpdateClusterCephFlagsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("flag", ProxmoxSharp.Client.ClientUtils.ParameterToString(flag)); // path parameter localVarRequestOptions.Data = updateClusterCephFlagsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterCephFlagsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/ceph/flags/{flag}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterCephFlagsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterFirewallAliasesSingle(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterFirewallAliasesSingleWithHttpInfo(name, updateClusterFirewallAliasesSingleRequest); return localVarResponse.Data; } /// /// updateClusterFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterFirewallAliasesSingleWithHttpInfo(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterFirewallAliasesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterFirewallAliasesSingleAsync(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterFirewallAliasesSingleWithHttpInfoAsync(name, updateClusterFirewallAliasesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterFirewallAliasesSingleWithHttpInfoAsync(string name, UpdateClusterFirewallAliasesSingleRequest? updateClusterFirewallAliasesSingleRequest = default(UpdateClusterFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterFirewallAliasesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallGroupRule Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterFirewallGroupRule(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterFirewallGroupRuleWithHttpInfo(group, pos, updateClusterFirewallGroupRuleRequest); return localVarResponse.Data; } /// /// updateClusterFirewallGroupRule Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterFirewallGroupRuleWithHttpInfo(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->UpdateClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Data = updateClusterFirewallGroupRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/firewall/groups/{group}/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallGroupRule Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterFirewallGroupRuleAsync(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterFirewallGroupRuleWithHttpInfoAsync(group, pos, updateClusterFirewallGroupRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterFirewallGroupRule Modify rule data. /// /// Thrown when fails to make API call /// group /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterFirewallGroupRuleWithHttpInfoAsync(string group, int pos, UpdateClusterFirewallGroupRuleRequest? updateClusterFirewallGroupRuleRequest = default(UpdateClusterFirewallGroupRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->UpdateClusterFirewallGroupRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Data = updateClusterFirewallGroupRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallGroupRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/firewall/groups/{group}/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallGroupRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterFirewallIPSetIP(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterFirewallIPSetIPWithHttpInfo(cidr, name, updateClusterFirewallIPSetIPRequest); return localVarResponse.Data; } /// /// updateClusterFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterFirewallIPSetIPWithHttpInfo(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->UpdateClusterFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterFirewallIPSetIPAsync(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterFirewallIPSetIPWithHttpInfoAsync(cidr, name, updateClusterFirewallIPSetIPRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, UpdateClusterFirewallIPSetIPRequest? updateClusterFirewallIPSetIPRequest = default(UpdateClusterFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->UpdateClusterFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterFirewallOptions(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterFirewallOptionsWithHttpInfo(updateClusterFirewallOptionsRequest); return localVarResponse.Data; } /// /// updateClusterFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterFirewallOptionsWithHttpInfo(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterFirewallOptionsAsync(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterFirewallOptionsWithHttpInfoAsync(updateClusterFirewallOptionsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterFirewallOptionsWithHttpInfoAsync(UpdateClusterFirewallOptionsRequest? updateClusterFirewallOptionsRequest = default(UpdateClusterFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterFirewallRule(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterFirewallRuleWithHttpInfo(pos, updateClusterFirewallRuleRequest); return localVarResponse.Data; } /// /// updateClusterFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterFirewallRuleWithHttpInfo(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Data = updateClusterFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterFirewallRuleAsync(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterFirewallRuleWithHttpInfoAsync(pos, updateClusterFirewallRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterFirewallRuleWithHttpInfoAsync(int pos, UpdateClusterFirewallRuleRequest? updateClusterFirewallRuleRequest = default(UpdateClusterFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Data = updateClusterFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterHaGroupsSingle Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterHaGroupsSingle(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterHaGroupsSingleWithHttpInfo(group, updateClusterHaGroupsSingleRequest); return localVarResponse.Data; } /// /// updateClusterHaGroupsSingle Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterHaGroupsSingleWithHttpInfo(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->UpdateClusterHaGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Data = updateClusterHaGroupsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterHaGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/ha/groups/{group}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterHaGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterHaGroupsSingle Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterHaGroupsSingleAsync(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterHaGroupsSingleWithHttpInfoAsync(group, updateClusterHaGroupsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterHaGroupsSingle Update ha group configuration. (deprecated in favor of HA rules) /// /// Thrown when fails to make API call /// group /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterHaGroupsSingleWithHttpInfoAsync(string group, UpdateClusterHaGroupsSingleRequest? updateClusterHaGroupsSingleRequest = default(UpdateClusterHaGroupsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'group' is set if (group == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'group' when calling ProxmoxGeneratedApi->UpdateClusterHaGroupsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("group", ProxmoxSharp.Client.ClientUtils.ParameterToString(group)); // path parameter localVarRequestOptions.Data = updateClusterHaGroupsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterHaGroupsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/ha/groups/{group}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterHaGroupsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterHaResourcesSingle Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterHaResourcesSingle(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterHaResourcesSingleWithHttpInfo(sid, updateClusterHaResourcesSingleRequest); return localVarResponse.Data; } /// /// updateClusterHaResourcesSingle Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterHaResourcesSingleWithHttpInfo(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->UpdateClusterHaResourcesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Data = updateClusterHaResourcesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterHaResourcesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/ha/resources/{sid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterHaResourcesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterHaResourcesSingle Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterHaResourcesSingleAsync(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterHaResourcesSingleWithHttpInfoAsync(sid, updateClusterHaResourcesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterHaResourcesSingle Update resource configuration. /// /// Thrown when fails to make API call /// sid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterHaResourcesSingleWithHttpInfoAsync(string sid, UpdateClusterHaResourcesSingleRequest? updateClusterHaResourcesSingleRequest = default(UpdateClusterHaResourcesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'sid' is set if (sid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'sid' when calling ProxmoxGeneratedApi->UpdateClusterHaResourcesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("sid", ProxmoxSharp.Client.ClientUtils.ParameterToString(sid)); // path parameter localVarRequestOptions.Data = updateClusterHaResourcesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterHaResourcesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/ha/resources/{sid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterHaResourcesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterHaRulesSingle Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterHaRulesSingle(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterHaRulesSingleWithHttpInfo(rule, updateClusterHaRulesSingleRequest); return localVarResponse.Data; } /// /// updateClusterHaRulesSingle Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterHaRulesSingleWithHttpInfo(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'rule' is set if (rule == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'rule' when calling ProxmoxGeneratedApi->UpdateClusterHaRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("rule", ProxmoxSharp.Client.ClientUtils.ParameterToString(rule)); // path parameter localVarRequestOptions.Data = updateClusterHaRulesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterHaRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/ha/rules/{rule}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterHaRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterHaRulesSingle Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterHaRulesSingleAsync(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterHaRulesSingleWithHttpInfoAsync(rule, updateClusterHaRulesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterHaRulesSingle Update HA rule. /// /// Thrown when fails to make API call /// rule /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterHaRulesSingleWithHttpInfoAsync(string rule, UpdateClusterHaRulesSingleRequest? updateClusterHaRulesSingleRequest = default(UpdateClusterHaRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'rule' is set if (rule == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'rule' when calling ProxmoxGeneratedApi->UpdateClusterHaRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("rule", ProxmoxSharp.Client.ClientUtils.ParameterToString(rule)); // path parameter localVarRequestOptions.Data = updateClusterHaRulesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterHaRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/ha/rules/{rule}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterHaRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterJobsRealmsyncSingle Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterJobsRealmsyncSingle(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterJobsRealmsyncSingleWithHttpInfo(id, updateClusterJobsRealmsyncSingleRequest); return localVarResponse.Data; } /// /// updateClusterJobsRealmsyncSingle Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterJobsRealmsyncSingleWithHttpInfo(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterJobsRealmsyncSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterJobsRealmsyncSingle Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterJobsRealmsyncSingleAsync(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterJobsRealmsyncSingleWithHttpInfoAsync(id, updateClusterJobsRealmsyncSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterJobsRealmsyncSingle Update realm-sync job definition. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterJobsRealmsyncSingleWithHttpInfoAsync(string id, UpdateClusterJobsRealmsyncSingleRequest? updateClusterJobsRealmsyncSingleRequest = default(UpdateClusterJobsRealmsyncSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterJobsRealmsyncSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterJobsRealmsyncSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterJobsRealmsyncSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/jobs/realm-sync/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterJobsRealmsyncSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMappingDirSingle Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterMappingDirSingle(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterMappingDirSingleWithHttpInfo(id, updateClusterMappingDirSingleRequest); return localVarResponse.Data; } /// /// updateClusterMappingDirSingle Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterMappingDirSingleWithHttpInfo(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMappingDirSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMappingDirSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMappingDirSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/mapping/dir/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMappingDirSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMappingDirSingle Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterMappingDirSingleAsync(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterMappingDirSingleWithHttpInfoAsync(id, updateClusterMappingDirSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterMappingDirSingle Update a directory mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterMappingDirSingleWithHttpInfoAsync(string id, UpdateClusterMappingDirSingleRequest? updateClusterMappingDirSingleRequest = default(UpdateClusterMappingDirSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMappingDirSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMappingDirSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMappingDirSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/mapping/dir/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMappingDirSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMappingPciSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterMappingPciSingle(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterMappingPciSingleWithHttpInfo(id, updateClusterMappingPciSingleRequest); return localVarResponse.Data; } /// /// updateClusterMappingPciSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterMappingPciSingleWithHttpInfo(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMappingPciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMappingPciSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMappingPciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/mapping/pci/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMappingPciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMappingPciSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterMappingPciSingleAsync(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterMappingPciSingleWithHttpInfoAsync(id, updateClusterMappingPciSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterMappingPciSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterMappingPciSingleWithHttpInfoAsync(string id, UpdateClusterMappingPciSingleRequest? updateClusterMappingPciSingleRequest = default(UpdateClusterMappingPciSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMappingPciSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMappingPciSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMappingPciSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/mapping/pci/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMappingPciSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMappingUsbSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterMappingUsbSingle(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterMappingUsbSingleWithHttpInfo(id, updateClusterMappingUsbSingleRequest); return localVarResponse.Data; } /// /// updateClusterMappingUsbSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterMappingUsbSingleWithHttpInfo(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMappingUsbSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMappingUsbSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMappingUsbSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/mapping/usb/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMappingUsbSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMappingUsbSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterMappingUsbSingleAsync(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterMappingUsbSingleWithHttpInfoAsync(id, updateClusterMappingUsbSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterMappingUsbSingle Update a hardware mapping. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterMappingUsbSingleWithHttpInfoAsync(string id, UpdateClusterMappingUsbSingleRequest? updateClusterMappingUsbSingleRequest = default(UpdateClusterMappingUsbSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMappingUsbSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMappingUsbSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMappingUsbSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/mapping/usb/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMappingUsbSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMetricsServerSingle Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterMetricsServerSingle(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterMetricsServerSingleWithHttpInfo(id, updateClusterMetricsServerSingleRequest); return localVarResponse.Data; } /// /// updateClusterMetricsServerSingle Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterMetricsServerSingleWithHttpInfo(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMetricsServerSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterMetricsServerSingle Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterMetricsServerSingleAsync(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterMetricsServerSingleWithHttpInfoAsync(id, updateClusterMetricsServerSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterMetricsServerSingle Update metric server configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterMetricsServerSingleWithHttpInfoAsync(string id, UpdateClusterMetricsServerSingleRequest? updateClusterMetricsServerSingleRequest = default(UpdateClusterMetricsServerSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterMetricsServerSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterMetricsServerSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterMetricsServerSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/metrics/server/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterMetricsServerSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsGotifySingle Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterNotificationsEndpointsGotifySingle(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterNotificationsEndpointsGotifySingleWithHttpInfo(name, updateClusterNotificationsEndpointsGotifySingleRequest); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsGotifySingle Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterNotificationsEndpointsGotifySingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsGotifySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsGotifySingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsGotifySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/notifications/endpoints/gotify/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsGotifySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsGotifySingle Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsGotifySingleAsync(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(name, updateClusterNotificationsEndpointsGotifySingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsGotifySingle Update existing gotify endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsGotifySingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsGotifySingleRequest? updateClusterNotificationsEndpointsGotifySingleRequest = default(UpdateClusterNotificationsEndpointsGotifySingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsGotifySingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsGotifySingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsGotifySingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/notifications/endpoints/gotify/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsGotifySingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsSendmailSingle Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterNotificationsEndpointsSendmailSingle(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterNotificationsEndpointsSendmailSingleWithHttpInfo(name, updateClusterNotificationsEndpointsSendmailSingleRequest); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsSendmailSingle Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterNotificationsEndpointsSendmailSingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsSendmailSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsSendmailSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsSendmailSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/notifications/endpoints/sendmail/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsSendmailSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsSendmailSingle Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsSendmailSingleAsync(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(name, updateClusterNotificationsEndpointsSendmailSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsSendmailSingle Update existing sendmail endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsSendmailSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsSendmailSingleRequest? updateClusterNotificationsEndpointsSendmailSingleRequest = default(UpdateClusterNotificationsEndpointsSendmailSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsSendmailSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsSendmailSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsSendmailSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/notifications/endpoints/sendmail/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsSendmailSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsSmtpSingle Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterNotificationsEndpointsSmtpSingle(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterNotificationsEndpointsSmtpSingleWithHttpInfo(name, updateClusterNotificationsEndpointsSmtpSingleRequest); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsSmtpSingle Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterNotificationsEndpointsSmtpSingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsSmtpSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsSmtpSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsSmtpSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/notifications/endpoints/smtp/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsSmtpSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsSmtpSingle Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsSmtpSingleAsync(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(name, updateClusterNotificationsEndpointsSmtpSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsSmtpSingle Update existing smtp endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsSmtpSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsSmtpSingleRequest? updateClusterNotificationsEndpointsSmtpSingleRequest = default(UpdateClusterNotificationsEndpointsSmtpSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsSmtpSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsSmtpSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsSmtpSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/notifications/endpoints/smtp/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsSmtpSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsWebhookSingle Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterNotificationsEndpointsWebhookSingle(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterNotificationsEndpointsWebhookSingleWithHttpInfo(name, updateClusterNotificationsEndpointsWebhookSingleRequest); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsWebhookSingle Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterNotificationsEndpointsWebhookSingleWithHttpInfo(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsWebhookSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsWebhookSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsWebhookSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/notifications/endpoints/webhook/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsWebhookSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsEndpointsWebhookSingle Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterNotificationsEndpointsWebhookSingleAsync(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(name, updateClusterNotificationsEndpointsWebhookSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterNotificationsEndpointsWebhookSingle Update existing webhook endpoint /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterNotificationsEndpointsWebhookSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsEndpointsWebhookSingleRequest? updateClusterNotificationsEndpointsWebhookSingleRequest = default(UpdateClusterNotificationsEndpointsWebhookSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsEndpointsWebhookSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsEndpointsWebhookSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsEndpointsWebhookSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/notifications/endpoints/webhook/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsEndpointsWebhookSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsMatchersSingle Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterNotificationsMatchersSingle(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterNotificationsMatchersSingleWithHttpInfo(name, updateClusterNotificationsMatchersSingleRequest); return localVarResponse.Data; } /// /// updateClusterNotificationsMatchersSingle Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterNotificationsMatchersSingleWithHttpInfo(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsMatchersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsMatchersSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsMatchersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/notifications/matchers/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsMatchersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterNotificationsMatchersSingle Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterNotificationsMatchersSingleAsync(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterNotificationsMatchersSingleWithHttpInfoAsync(name, updateClusterNotificationsMatchersSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterNotificationsMatchersSingle Update existing matcher /// /// Thrown when fails to make API call /// name /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterNotificationsMatchersSingleWithHttpInfoAsync(string name, UpdateClusterNotificationsMatchersSingleRequest? updateClusterNotificationsMatchersSingleRequest = default(UpdateClusterNotificationsMatchersSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateClusterNotificationsMatchersSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.Data = updateClusterNotificationsMatchersSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterNotificationsMatchersSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/notifications/matchers/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterNotificationsMatchersSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterOptions Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterOptions(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterOptionsWithHttpInfo(updateClusterOptionsRequest); return localVarResponse.Data; } /// /// updateClusterOptions Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterOptionsWithHttpInfo(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterOptions Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterOptionsAsync(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterOptionsWithHttpInfoAsync(updateClusterOptionsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterOptions Set datacenter options. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterOptionsWithHttpInfoAsync(UpdateClusterOptionsRequest? updateClusterOptionsRequest = default(UpdateClusterOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterReplicationSingle Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterReplicationSingle(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterReplicationSingleWithHttpInfo(id, updateClusterReplicationSingleRequest); return localVarResponse.Data; } /// /// updateClusterReplicationSingle Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterReplicationSingleWithHttpInfo(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterReplicationSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/replication/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterReplicationSingle Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterReplicationSingleAsync(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterReplicationSingleWithHttpInfoAsync(id, updateClusterReplicationSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterReplicationSingle Update replication job configuration. /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterReplicationSingleWithHttpInfoAsync(string id, UpdateClusterReplicationSingleRequest? updateClusterReplicationSingleRequest = default(UpdateClusterReplicationSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterReplicationSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterReplicationSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterReplicationSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/replication/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterReplicationSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDN Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSDN(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSDNWithHttpInfo(updateClusterSDNRequest); return localVarResponse.Data; } /// /// updateClusterSDN Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSDNWithHttpInfo(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterSDNRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDN"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDN", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDN Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSDNAsync(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSDNWithHttpInfoAsync(updateClusterSDNRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSDN Apply sdn controller changes && reload. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSDNWithHttpInfoAsync(UpdateClusterSDNRequest? updateClusterSDNRequest = default(UpdateClusterSDNRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updateClusterSDNRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDN"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDN", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDNController Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSDNController(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSDNControllerWithHttpInfo(controller, updateClusterSDNControllerRequest); return localVarResponse.Data; } /// /// updateClusterSDNController Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSDNControllerWithHttpInfo(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0) { // verify the required parameter 'controller' is set if (controller == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'controller' when calling ProxmoxGeneratedApi->UpdateClusterSDNController"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("controller", ProxmoxSharp.Client.ClientUtils.ParameterToString(controller)); // path parameter localVarRequestOptions.Data = updateClusterSDNControllerRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/controllers/{controller}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDNController Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSDNControllerAsync(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSDNControllerWithHttpInfoAsync(controller, updateClusterSDNControllerRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSDNController Update sdn controller object configuration. /// /// Thrown when fails to make API call /// controller /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSDNControllerWithHttpInfoAsync(string controller, UpdateClusterSDNControllerRequest? updateClusterSDNControllerRequest = default(UpdateClusterSDNControllerRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'controller' is set if (controller == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'controller' when calling ProxmoxGeneratedApi->UpdateClusterSDNController"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("controller", ProxmoxSharp.Client.ClientUtils.ParameterToString(controller)); // path parameter localVarRequestOptions.Data = updateClusterSDNControllerRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDNController"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/controllers/{controller}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDNController", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDNVnet Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSDNVnet(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSDNVnetWithHttpInfo(vnet, updateClusterSDNVnetRequest); return localVarResponse.Data; } /// /// updateClusterSDNVnet Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSDNVnetWithHttpInfo(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSDNVnet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSDNVnetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDNVnet Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSDNVnetAsync(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSDNVnetWithHttpInfoAsync(vnet, updateClusterSDNVnetRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSDNVnet Update sdn vnet object configuration. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSDNVnetWithHttpInfoAsync(string vnet, UpdateClusterSDNVnetRequest? updateClusterSDNVnetRequest = default(UpdateClusterSDNVnetRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSDNVnet"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSDNVnetRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDNVnet"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/vnets/{vnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDNVnet", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDNZone Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSDNZone(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSDNZoneWithHttpInfo(zone, updateClusterSDNZoneRequest); return localVarResponse.Data; } /// /// updateClusterSDNZone Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSDNZoneWithHttpInfo(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0) { // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->UpdateClusterSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Data = updateClusterSDNZoneRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/zones/{zone}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSDNZone Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSDNZoneAsync(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSDNZoneWithHttpInfoAsync(zone, updateClusterSDNZoneRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSDNZone Update sdn zone object configuration. /// /// Thrown when fails to make API call /// zone /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSDNZoneWithHttpInfoAsync(string zone, UpdateClusterSDNZoneRequest? updateClusterSDNZoneRequest = default(UpdateClusterSDNZoneRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'zone' is set if (zone == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'zone' when calling ProxmoxGeneratedApi->UpdateClusterSDNZone"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("zone", ProxmoxSharp.Client.ClientUtils.ParameterToString(zone)); // path parameter localVarRequestOptions.Data = updateClusterSDNZoneRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSDNZone"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/zones/{zone}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSDNZone", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnDnsSingle Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnDnsSingle(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnDnsSingleWithHttpInfo(dns, updateClusterSdnDnsSingleRequest); return localVarResponse.Data; } /// /// updateClusterSdnDnsSingle Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnDnsSingleWithHttpInfo(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'dns' is set if (dns == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'dns' when calling ProxmoxGeneratedApi->UpdateClusterSdnDnsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("dns", ProxmoxSharp.Client.ClientUtils.ParameterToString(dns)); // path parameter localVarRequestOptions.Data = updateClusterSdnDnsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnDnsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/dns/{dns}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnDnsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnDnsSingle Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnDnsSingleAsync(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnDnsSingleWithHttpInfoAsync(dns, updateClusterSdnDnsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnDnsSingle Update sdn dns object configuration. /// /// Thrown when fails to make API call /// dns /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnDnsSingleWithHttpInfoAsync(string dns, UpdateClusterSdnDnsSingleRequest? updateClusterSdnDnsSingleRequest = default(UpdateClusterSdnDnsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'dns' is set if (dns == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'dns' when calling ProxmoxGeneratedApi->UpdateClusterSdnDnsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("dns", ProxmoxSharp.Client.ClientUtils.ParameterToString(dns)); // path parameter localVarRequestOptions.Data = updateClusterSdnDnsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnDnsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/dns/{dns}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnDnsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnFabricsFabricSingle(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnFabricsFabricSingleWithHttpInfo(id, updateClusterSdnFabricsFabricSingleRequest); return localVarResponse.Data; } /// /// updateClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnFabricsFabricSingleWithHttpInfo(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterSdnFabricsFabricSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterSdnFabricsFabricSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnFabricsFabricSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/fabrics/fabric/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnFabricsFabricSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnFabricsFabricSingleAsync(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnFabricsFabricSingleWithHttpInfoAsync(id, updateClusterSdnFabricsFabricSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnFabricsFabricSingle Update a fabric /// /// Thrown when fails to make API call /// id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnFabricsFabricSingleWithHttpInfoAsync(string id, UpdateClusterSdnFabricsFabricSingleRequest? updateClusterSdnFabricsFabricSingleRequest = default(UpdateClusterSdnFabricsFabricSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'id' when calling ProxmoxGeneratedApi->UpdateClusterSdnFabricsFabricSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("id", ProxmoxSharp.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateClusterSdnFabricsFabricSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnFabricsFabricSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/fabrics/fabric/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnFabricsFabricSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnFabricsNodeSingleSingle Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnFabricsNodeSingleSingle(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnFabricsNodeSingleSingleWithHttpInfo(fabricId, nodeId, updateClusterSdnFabricsNodeSingleSingleRequest); return localVarResponse.Data; } /// /// updateClusterSdnFabricsNodeSingleSingle Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnFabricsNodeSingleSingleWithHttpInfo(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->UpdateClusterSdnFabricsNodeSingleSingle"); } // verify the required parameter 'nodeId' is set if (nodeId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'nodeId' when calling ProxmoxGeneratedApi->UpdateClusterSdnFabricsNodeSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.PathParameters.Add("node_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(nodeId)); // path parameter localVarRequestOptions.Data = updateClusterSdnFabricsNodeSingleSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnFabricsNodeSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/fabrics/node/{fabric_id}/{node_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnFabricsNodeSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnFabricsNodeSingleSingle Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnFabricsNodeSingleSingleAsync(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(fabricId, nodeId, updateClusterSdnFabricsNodeSingleSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnFabricsNodeSingleSingle Update a node /// /// Thrown when fails to make API call /// fabric_id /// node_id /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnFabricsNodeSingleSingleWithHttpInfoAsync(string fabricId, string nodeId, UpdateClusterSdnFabricsNodeSingleSingleRequest? updateClusterSdnFabricsNodeSingleSingleRequest = default(UpdateClusterSdnFabricsNodeSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'fabricId' is set if (fabricId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'fabricId' when calling ProxmoxGeneratedApi->UpdateClusterSdnFabricsNodeSingleSingle"); } // verify the required parameter 'nodeId' is set if (nodeId == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'nodeId' when calling ProxmoxGeneratedApi->UpdateClusterSdnFabricsNodeSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("fabric_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(fabricId)); // path parameter localVarRequestOptions.PathParameters.Add("node_id", ProxmoxSharp.Client.ClientUtils.ParameterToString(nodeId)); // path parameter localVarRequestOptions.Data = updateClusterSdnFabricsNodeSingleSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnFabricsNodeSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/fabrics/node/{fabric_id}/{node_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnFabricsNodeSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnIpamsSingle Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnIpamsSingle(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnIpamsSingleWithHttpInfo(ipam, updateClusterSdnIpamsSingleRequest); return localVarResponse.Data; } /// /// updateClusterSdnIpamsSingle Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnIpamsSingleWithHttpInfo(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->UpdateClusterSdnIpamsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Data = updateClusterSdnIpamsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnIpamsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/ipams/{ipam}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnIpamsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnIpamsSingle Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnIpamsSingleAsync(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnIpamsSingleWithHttpInfoAsync(ipam, updateClusterSdnIpamsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnIpamsSingle Update sdn ipam object configuration. /// /// Thrown when fails to make API call /// ipam /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnIpamsSingleWithHttpInfoAsync(string ipam, UpdateClusterSdnIpamsSingleRequest? updateClusterSdnIpamsSingleRequest = default(UpdateClusterSdnIpamsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'ipam' is set if (ipam == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'ipam' when calling ProxmoxGeneratedApi->UpdateClusterSdnIpamsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("ipam", ProxmoxSharp.Client.ClientUtils.ParameterToString(ipam)); // path parameter localVarRequestOptions.Data = updateClusterSdnIpamsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnIpamsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/ipams/{ipam}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnIpamsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnVnetsSingleFirewallOptions(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnVnetsSingleFirewallOptionsWithHttpInfo(vnet, updateClusterSdnVnetsSingleFirewallOptionsRequest); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnVnetsSingleFirewallOptionsWithHttpInfo(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/vnets/{vnet}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleFirewallOptionsAsync(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnVnetsSingleFirewallOptionsWithHttpInfoAsync(vnet, updateClusterSdnVnetsSingleFirewallOptionsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleFirewallOptionsWithHttpInfoAsync(string vnet, UpdateClusterSdnVnetsSingleFirewallOptionsRequest? updateClusterSdnVnetsSingleFirewallOptionsRequest = default(UpdateClusterSdnVnetsSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/vnets/{vnet}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnVnetsSingleFirewallRulesSingle(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(pos, vnet, updateClusterSdnVnetsSingleFirewallRulesSingleRequest); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfo(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleFirewallRulesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/vnets/{vnet}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleFirewallRulesSingleAsync(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(pos, vnet, updateClusterSdnVnetsSingleFirewallRulesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// pos /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleFirewallRulesSingleWithHttpInfoAsync(int pos, string vnet, UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest? updateClusterSdnVnetsSingleFirewallRulesSingleRequest = default(UpdateClusterSdnVnetsSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleFirewallRulesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/vnets/{vnet}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleIps Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnVnetsSingleIps(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnVnetsSingleIpsWithHttpInfo(vnet, updateClusterSdnVnetsSingleIpsRequest); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleIps Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnVnetsSingleIpsWithHttpInfo(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleIps"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleIpsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleIps"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/vnets/{vnet}/ips", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleIps", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleIps Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleIpsAsync(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnVnetsSingleIpsWithHttpInfoAsync(vnet, updateClusterSdnVnetsSingleIpsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleIps Update IP Mapping in a VNet /// /// Thrown when fails to make API call /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleIpsWithHttpInfoAsync(string vnet, UpdateClusterSdnVnetsSingleIpsRequest? updateClusterSdnVnetsSingleIpsRequest = default(UpdateClusterSdnVnetsSingleIpsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleIps"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleIpsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleIps"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/vnets/{vnet}/ips", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleIps", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleSubnetsSingle Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateClusterSdnVnetsSingleSubnetsSingle(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(subnet, vnet, updateClusterSdnVnetsSingleSubnetsSingleRequest); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleSubnetsSingle Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateClusterSdnVnetsSingleSubnetsSingleWithHttpInfo(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0) { // verify the required parameter 'subnet' is set if (subnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'subnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleSubnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleSubnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("subnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(subnet)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleSubnetsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleSubnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/cluster/sdn/vnets/{vnet}/subnets/{subnet}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleSubnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateClusterSdnVnetsSingleSubnetsSingle Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateClusterSdnVnetsSingleSubnetsSingleAsync(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(subnet, vnet, updateClusterSdnVnetsSingleSubnetsSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateClusterSdnVnetsSingleSubnetsSingle Update sdn subnet object configuration. /// /// Thrown when fails to make API call /// subnet /// vnet /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateClusterSdnVnetsSingleSubnetsSingleWithHttpInfoAsync(string subnet, string vnet, UpdateClusterSdnVnetsSingleSubnetsSingleRequest? updateClusterSdnVnetsSingleSubnetsSingleRequest = default(UpdateClusterSdnVnetsSingleSubnetsSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'subnet' is set if (subnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'subnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleSubnetsSingle"); } // verify the required parameter 'vnet' is set if (vnet == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'vnet' when calling ProxmoxGeneratedApi->UpdateClusterSdnVnetsSingleSubnetsSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("subnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(subnet)); // path parameter localVarRequestOptions.PathParameters.Add("vnet", ProxmoxSharp.Client.ClientUtils.ParameterToString(vnet)); // path parameter localVarRequestOptions.Data = updateClusterSdnVnetsSingleSubnetsSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateClusterSdnVnetsSingleSubnetsSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/cluster/sdn/vnets/{vnet}/subnets/{subnet}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateClusterSdnVnetsSingleSubnetsSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodeFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodeFirewallOptions(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodeFirewallOptionsWithHttpInfo(node, updateNodeFirewallOptionsRequest); return localVarResponse.Data; } /// /// updateNodeFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodeFirewallOptionsWithHttpInfo(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodeFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodeFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodeFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodeFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodeFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodeFirewallOptionsAsync(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodeFirewallOptionsWithHttpInfoAsync(node, updateNodeFirewallOptionsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodeFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodeFirewallOptionsWithHttpInfoAsync(string node, UpdateNodeFirewallOptionsRequest? updateNodeFirewallOptionsRequest = default(UpdateNodeFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodeFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodeFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodeFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodeFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodeFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodeFirewallRule(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodeFirewallRuleWithHttpInfo(node, pos, updateNodeFirewallRuleRequest); return localVarResponse.Data; } /// /// updateNodeFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodeFirewallRuleWithHttpInfo(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Data = updateNodeFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodeFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodeFirewallRuleAsync(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodeFirewallRuleWithHttpInfoAsync(node, pos, updateNodeFirewallRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodeFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodeFirewallRuleWithHttpInfoAsync(string node, int pos, UpdateNodeFirewallRuleRequest? updateNodeFirewallRuleRequest = default(UpdateNodeFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodeFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.Data = updateNodeFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodeFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodeFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleAptRepositories Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleAptRepositories(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleAptRepositoriesWithHttpInfo(node, updateNodesSingleAptRepositoriesRequest); return localVarResponse.Data; } /// /// updateNodesSingleAptRepositories Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleAptRepositoriesWithHttpInfo(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleAptRepositories"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleAptRepositoriesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleAptRepositories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/apt/repositories", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleAptRepositories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleAptRepositories Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleAptRepositoriesAsync(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleAptRepositoriesWithHttpInfoAsync(node, updateNodesSingleAptRepositoriesRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleAptRepositories Add a standard repository to the configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleAptRepositoriesWithHttpInfoAsync(string node, UpdateNodesSingleAptRepositoriesRequest? updateNodesSingleAptRepositoriesRequest = default(UpdateNodesSingleAptRepositoriesRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleAptRepositories"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleAptRepositoriesRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleAptRepositories"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/apt/repositories", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleAptRepositories", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleCephPoolSingle Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleCephPoolSingle(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleCephPoolSingleWithHttpInfo(name, node, updateNodesSingleCephPoolSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleCephPoolSingle Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleCephPoolSingleWithHttpInfo(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleCephPoolSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleCephPoolSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleCephPoolSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleCephPoolSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/ceph/pool/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleCephPoolSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleCephPoolSingle Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleCephPoolSingleAsync(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleCephPoolSingleWithHttpInfoAsync(name, node, updateNodesSingleCephPoolSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleCephPoolSingle Change POOL settings /// /// Thrown when fails to make API call /// name /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleCephPoolSingleWithHttpInfoAsync(string name, string node, UpdateNodesSingleCephPoolSingleRequest? updateNodesSingleCephPoolSingleRequest = default(UpdateNodesSingleCephPoolSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleCephPoolSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleCephPoolSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleCephPoolSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleCephPoolSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/ceph/pool/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleCephPoolSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleCertificatesAcmeCertificate Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleCertificatesAcmeCertificate(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleCertificatesAcmeCertificateWithHttpInfo(node, updateNodesSingleCertificatesAcmeCertificateRequest); return localVarResponse.Data; } /// /// updateNodesSingleCertificatesAcmeCertificate Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleCertificatesAcmeCertificateWithHttpInfo(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleCertificatesAcmeCertificate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleCertificatesAcmeCertificateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleCertificatesAcmeCertificate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/certificates/acme/certificate", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleCertificatesAcmeCertificate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleCertificatesAcmeCertificate Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleCertificatesAcmeCertificateAsync(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(node, updateNodesSingleCertificatesAcmeCertificateRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleCertificatesAcmeCertificate Renew existing certificate from CA. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleCertificatesAcmeCertificateWithHttpInfoAsync(string node, UpdateNodesSingleCertificatesAcmeCertificateRequest? updateNodesSingleCertificatesAcmeCertificateRequest = default(UpdateNodesSingleCertificatesAcmeCertificateRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleCertificatesAcmeCertificate"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleCertificatesAcmeCertificateRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleCertificatesAcmeCertificate"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/certificates/acme/certificate", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleCertificatesAcmeCertificate", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleConfig Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleConfig(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleConfigWithHttpInfo(node, updateNodesSingleConfigRequest); return localVarResponse.Data; } /// /// updateNodesSingleConfig Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleConfigWithHttpInfo(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleConfig Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleConfigAsync(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleConfigWithHttpInfoAsync(node, updateNodesSingleConfigRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleConfig Set node configuration options. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleConfigWithHttpInfoAsync(string node, UpdateNodesSingleConfigRequest? updateNodesSingleConfigRequest = default(UpdateNodesSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleDisksWipedisk Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleDisksWipedisk(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleDisksWipediskWithHttpInfo(node, updateNodesSingleDisksWipediskRequest); return localVarResponse.Data; } /// /// updateNodesSingleDisksWipedisk Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleDisksWipediskWithHttpInfo(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleDisksWipedisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleDisksWipediskRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleDisksWipedisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/disks/wipedisk", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleDisksWipedisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleDisksWipedisk Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleDisksWipediskAsync(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleDisksWipediskWithHttpInfoAsync(node, updateNodesSingleDisksWipediskRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleDisksWipedisk Wipe a disk or partition. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleDisksWipediskWithHttpInfoAsync(string node, UpdateNodesSingleDisksWipediskRequest? updateNodesSingleDisksWipediskRequest = default(UpdateNodesSingleDisksWipediskRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleDisksWipedisk"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleDisksWipediskRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleDisksWipedisk"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/disks/wipedisk", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleDisksWipedisk", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleDns Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleDns(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleDnsWithHttpInfo(node, updateNodesSingleDnsRequest); return localVarResponse.Data; } /// /// updateNodesSingleDns Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleDnsWithHttpInfo(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleDns"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleDnsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/dns", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleDns Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleDnsAsync(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleDnsWithHttpInfoAsync(node, updateNodesSingleDnsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleDns Write DNS settings. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleDnsWithHttpInfoAsync(string node, UpdateNodesSingleDnsRequest? updateNodesSingleDnsRequest = default(UpdateNodesSingleDnsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleDns"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleDnsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleDns"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/dns", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleDns", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleConfig Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleLxcSingleConfig(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleConfigWithHttpInfo(node, vmid, updateNodesSingleLxcSingleConfigRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleConfig Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleConfigWithHttpInfo(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleConfig Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleConfigAsync(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleConfigWithHttpInfoAsync(node, vmid, updateNodesSingleLxcSingleConfigRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleConfig Set container options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleConfigWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleLxcSingleConfigRequest? updateNodesSingleLxcSingleConfigRequest = default(UpdateNodesSingleLxcSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallAliasesSingle(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(name, node, vmid, updateNodesSingleLxcSingleFirewallAliasesSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallAliasesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallAliasesSingleAsync(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(name, node, vmid, updateNodesSingleLxcSingleFirewallAliasesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest? updateNodesSingleLxcSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallAliasesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(cidr, name, node, vmid, updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfo(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleAsync(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(cidr, name, node, vmid, updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallIpsetSingleSingle Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleWithHttpInfoAsync(string cidr, string name, string node, int vmid, UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest? updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest = default(UpdateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallIpsetSingleSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallIpsetSingleSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallOptions(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleFirewallOptionsWithHttpInfo(node, vmid, updateNodesSingleLxcSingleFirewallOptionsRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleFirewallOptionsWithHttpInfo(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallOptionsAsync(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleFirewallOptionsWithHttpInfoAsync(node, vmid, updateNodesSingleLxcSingleFirewallOptionsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallOptionsWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleLxcSingleFirewallOptionsRequest? updateNodesSingleLxcSingleFirewallOptionsRequest = default(UpdateNodesSingleLxcSingleFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleLxcSingleFirewallRulesSingle(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(node, pos, vmid, updateNodesSingleLxcSingleFirewallRulesSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleFirewallRulesSingleWithHttpInfo(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallRulesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleFirewallRulesSingleAsync(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(node, pos, vmid, updateNodesSingleLxcSingleFirewallRulesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleFirewallRulesSingle Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleFirewallRulesSingleWithHttpInfoAsync(string node, int pos, int vmid, UpdateNodesSingleLxcSingleFirewallRulesSingleRequest? updateNodesSingleLxcSingleFirewallRulesSingleRequest = default(UpdateNodesSingleLxcSingleFirewallRulesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleFirewallRulesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleFirewallRulesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleFirewallRulesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleFirewallRulesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleResize Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateNodesSingleQemuSingleMovedisk200Response public CreateNodesSingleQemuSingleMovedisk200Response UpdateNodesSingleLxcSingleResize(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleResizeWithHttpInfo(node, vmid, updateNodesSingleLxcSingleResizeRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleResize Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateNodesSingleQemuSingleMovedisk200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleResizeWithHttpInfo(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleResize"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleResizeRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleResize"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/resize", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleResize", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleResize Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateNodesSingleQemuSingleMovedisk200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleResizeAsync(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleResizeWithHttpInfoAsync(node, vmid, updateNodesSingleLxcSingleResizeRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleResize Resize a container mount point. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateNodesSingleQemuSingleMovedisk200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleResizeWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleLxcSingleResizeRequest? updateNodesSingleLxcSingleResizeRequest = default(UpdateNodesSingleLxcSingleResizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleResize"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleResizeRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleResize"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/resize", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleResize", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleSnapshotSingleConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleLxcSingleSnapshotSingleConfig(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfo(node, snapname, vmid, updateNodesSingleLxcSingleSnapshotSingleConfigRequest); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleSnapshotSingleConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfo(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleSnapshotSingleConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleSnapshotSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleSnapshotSingleConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleSnapshotSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleSnapshotSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleLxcSingleSnapshotSingleConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleLxcSingleSnapshotSingleConfigAsync(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfoAsync(node, snapname, vmid, updateNodesSingleLxcSingleSnapshotSingleConfigRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleLxcSingleSnapshotSingleConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleLxcSingleSnapshotSingleConfigWithHttpInfoAsync(string node, string snapname, int vmid, UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest? updateNodesSingleLxcSingleSnapshotSingleConfigRequest = default(UpdateNodesSingleLxcSingleSnapshotSingleConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleSnapshotSingleConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->UpdateNodesSingleLxcSingleSnapshotSingleConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleLxcSingleSnapshotSingleConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleLxcSingleSnapshotSingleConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleLxcSingleSnapshotSingleConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleNetwork Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleNetwork(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleNetworkWithHttpInfo(node, updateNodesSingleNetworkRequest); return localVarResponse.Data; } /// /// updateNodesSingleNetwork Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleNetworkWithHttpInfo(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleNetworkRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/network", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleNetwork Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleNetworkAsync(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleNetworkWithHttpInfoAsync(node, updateNodesSingleNetworkRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleNetwork Reload network configuration /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleNetworkWithHttpInfoAsync(string node, UpdateNodesSingleNetworkRequest? updateNodesSingleNetworkRequest = default(UpdateNodesSingleNetworkRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleNetwork"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleNetworkRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleNetwork"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/network", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleNetwork", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleNetworkSingle Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleNetworkSingle(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleNetworkSingleWithHttpInfo(iface, node, updateNodesSingleNetworkSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleNetworkSingle Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleNetworkSingleWithHttpInfo(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0) { // verify the required parameter 'iface' is set if (iface == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'iface' when calling ProxmoxGeneratedApi->UpdateNodesSingleNetworkSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleNetworkSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("iface", ProxmoxSharp.Client.ClientUtils.ParameterToString(iface)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleNetworkSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleNetworkSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/network/{iface}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleNetworkSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleNetworkSingle Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleNetworkSingleAsync(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleNetworkSingleWithHttpInfoAsync(iface, node, updateNodesSingleNetworkSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleNetworkSingle Update network device configuration /// /// Thrown when fails to make API call /// iface /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleNetworkSingleWithHttpInfoAsync(string iface, string node, UpdateNodesSingleNetworkSingleRequest? updateNodesSingleNetworkSingleRequest = default(UpdateNodesSingleNetworkSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'iface' is set if (iface == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'iface' when calling ProxmoxGeneratedApi->UpdateNodesSingleNetworkSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleNetworkSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("iface", ProxmoxSharp.Client.ClientUtils.ParameterToString(iface)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleNetworkSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleNetworkSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/network/{iface}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleNetworkSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleQemuSingleCloudinit Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleQemuSingleCloudinit(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleQemuSingleCloudinitWithHttpInfo(node, vmid, body); return localVarResponse.Data; } /// /// updateNodesSingleQemuSingleCloudinit Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleQemuSingleCloudinitWithHttpInfo(string node, int vmid, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleCloudinit"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleQemuSingleCloudinit"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/cloudinit", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleQemuSingleCloudinit", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleQemuSingleCloudinit Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleQemuSingleCloudinitAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleQemuSingleCloudinitWithHttpInfoAsync(node, vmid, body, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleQemuSingleCloudinit Regenerate and change cloudinit config drive. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleQemuSingleCloudinitWithHttpInfoAsync(string node, int vmid, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleCloudinit"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = body; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleQemuSingleCloudinit"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/cloudinit", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleQemuSingleCloudinit", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleQemuSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleQemuSingleFirewallAliasesSingle(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(name, node, vmid, updateNodesSingleQemuSingleFirewallAliasesSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleQemuSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfo(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleQemuSingleFirewallAliasesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleQemuSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleQemuSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleQemuSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleQemuSingleFirewallAliasesSingleAsync(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(name, node, vmid, updateNodesSingleQemuSingleFirewallAliasesSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleQemuSingleFirewallAliasesSingle Update IP or Network alias. /// /// Thrown when fails to make API call /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleQemuSingleFirewallAliasesSingleWithHttpInfoAsync(string name, string node, int vmid, UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest? updateNodesSingleQemuSingleFirewallAliasesSingleRequest = default(UpdateNodesSingleQemuSingleFirewallAliasesSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleFirewallAliasesSingle"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleFirewallAliasesSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleQemuSingleFirewallAliasesSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleQemuSingleFirewallAliasesSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleQemuSingleFirewallAliasesSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleQemuSingleSendkey Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleQemuSingleSendkey(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleQemuSingleSendkeyWithHttpInfo(node, vmid, updateNodesSingleQemuSingleSendkeyRequest); return localVarResponse.Data; } /// /// updateNodesSingleQemuSingleSendkey Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleQemuSingleSendkeyWithHttpInfo(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleSendkey"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleQemuSingleSendkeyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleQemuSingleSendkey"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/sendkey", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleQemuSingleSendkey", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleQemuSingleSendkey Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleQemuSingleSendkeyAsync(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleQemuSingleSendkeyWithHttpInfoAsync(node, vmid, updateNodesSingleQemuSingleSendkeyRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleQemuSingleSendkey Send key event to virtual machine. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleQemuSingleSendkeyWithHttpInfoAsync(string node, int vmid, UpdateNodesSingleQemuSingleSendkeyRequest? updateNodesSingleQemuSingleSendkeyRequest = default(UpdateNodesSingleQemuSingleSendkeyRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleQemuSingleSendkey"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateNodesSingleQemuSingleSendkeyRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleQemuSingleSendkey"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/sendkey", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleQemuSingleSendkey", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleStorageSingleContentSingle Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleStorageSingleContentSingle(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleStorageSingleContentSingleWithHttpInfo(node, storage, volume, updateNodesSingleStorageSingleContentSingleRequest); return localVarResponse.Data; } /// /// updateNodesSingleStorageSingleContentSingle Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleStorageSingleContentSingleWithHttpInfo(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->UpdateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->UpdateNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Data = updateNodesSingleStorageSingleContentSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleStorageSingleContentSingle Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleStorageSingleContentSingleAsync(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleStorageSingleContentSingleWithHttpInfoAsync(node, storage, volume, updateNodesSingleStorageSingleContentSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleStorageSingleContentSingle Update volume attributes /// /// Thrown when fails to make API call /// node /// storage /// volume /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleStorageSingleContentSingleWithHttpInfoAsync(string node, string storage, string volume, UpdateNodesSingleStorageSingleContentSingleRequest? updateNodesSingleStorageSingleContentSingleRequest = default(UpdateNodesSingleStorageSingleContentSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->UpdateNodesSingleStorageSingleContentSingle"); } // verify the required parameter 'volume' is set if (volume == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'volume' when calling ProxmoxGeneratedApi->UpdateNodesSingleStorageSingleContentSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.PathParameters.Add("volume", ProxmoxSharp.Client.ClientUtils.ParameterToString(volume)); // path parameter localVarRequestOptions.Data = updateNodesSingleStorageSingleContentSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleStorageSingleContentSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/storage/{storage}/content/{volume}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleStorageSingleContentSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleSubscription Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleSubscription(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleSubscriptionWithHttpInfo(node, updateNodesSingleSubscriptionRequest); return localVarResponse.Data; } /// /// updateNodesSingleSubscription Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleSubscriptionWithHttpInfo(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleSubscriptionRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleSubscription Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleSubscriptionAsync(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleSubscriptionWithHttpInfoAsync(node, updateNodesSingleSubscriptionRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleSubscription Set subscription key. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleSubscriptionWithHttpInfoAsync(string node, UpdateNodesSingleSubscriptionRequest? updateNodesSingleSubscriptionRequest = default(UpdateNodesSingleSubscriptionRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleSubscription"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleSubscriptionRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleSubscription"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/subscription", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleSubscription", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleTime Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateNodesSingleTime(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateNodesSingleTimeWithHttpInfo(node, updateNodesSingleTimeRequest); return localVarResponse.Data; } /// /// updateNodesSingleTime Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateNodesSingleTimeWithHttpInfo(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleTime"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleTimeRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleTime"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/time", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleTime", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateNodesSingleTime Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateNodesSingleTimeAsync(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateNodesSingleTimeWithHttpInfoAsync(node, updateNodesSingleTimeRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateNodesSingleTime Set time zone. /// /// Thrown when fails to make API call /// node /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateNodesSingleTimeWithHttpInfoAsync(string node, UpdateNodesSingleTimeRequest? updateNodesSingleTimeRequest = default(UpdateNodesSingleTimeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateNodesSingleTime"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.Data = updateNodesSingleTimeRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateNodesSingleTime"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/time", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateNodesSingleTime", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updatePool Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdatePool(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdatePoolWithHttpInfo(poolid, updatePoolRequest); return localVarResponse.Data; } /// /// updatePool Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdatePoolWithHttpInfo(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0) { // verify the required parameter 'poolid' is set if (poolid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'poolid' when calling ProxmoxGeneratedApi->UpdatePool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("poolid", ProxmoxSharp.Client.ClientUtils.ParameterToString(poolid)); // path parameter localVarRequestOptions.Data = updatePoolRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdatePool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/pools/{poolid}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdatePool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updatePool Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdatePoolAsync(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdatePoolWithHttpInfoAsync(poolid, updatePoolRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updatePool Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead). /// /// Thrown when fails to make API call /// poolid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdatePoolWithHttpInfoAsync(string poolid, UpdatePoolRequest? updatePoolRequest = default(UpdatePoolRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'poolid' is set if (poolid == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'poolid' when calling ProxmoxGeneratedApi->UpdatePool"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("poolid", ProxmoxSharp.Client.ClientUtils.ParameterToString(poolid)); // path parameter localVarRequestOptions.Data = updatePoolRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdatePool"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/pools/{poolid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdatePool", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updatePools Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdatePools(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdatePoolsWithHttpInfo(updatePoolsRequest); return localVarResponse.Data; } /// /// updatePools Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdatePoolsWithHttpInfo(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updatePoolsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdatePools"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/pools", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdatePools", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updatePools Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdatePoolsAsync(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdatePoolsWithHttpInfoAsync(updatePoolsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updatePools Update pool. /// /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdatePoolsWithHttpInfoAsync(UpdatePoolsRequest? updatePoolsRequest = default(UpdatePoolsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.Data = updatePoolsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdatePools"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/pools", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdatePools", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateStorageSingle Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// CreateStorage200Response public CreateStorage200Response UpdateStorageSingle(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateStorageSingleWithHttpInfo(storage, updateStorageSingleRequest); return localVarResponse.Data; } /// /// updateStorageSingle Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// ApiResponse of CreateStorage200Response public ProxmoxSharp.Client.ApiResponse UpdateStorageSingleWithHttpInfo(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0) { // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->UpdateStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = updateStorageSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/storage/{storage}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateStorageSingle Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateStorage200Response public async System.Threading.Tasks.Task UpdateStorageSingleAsync(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateStorageSingleWithHttpInfoAsync(storage, updateStorageSingleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateStorageSingle Update storage configuration. /// /// Thrown when fails to make API call /// storage /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateStorage200Response) public async System.Threading.Tasks.Task> UpdateStorageSingleWithHttpInfoAsync(string storage, UpdateStorageSingleRequest? updateStorageSingleRequest = default(UpdateStorageSingleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'storage' is set if (storage == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'storage' when calling ProxmoxGeneratedApi->UpdateStorageSingle"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("storage", ProxmoxSharp.Client.ClientUtils.ParameterToString(storage)); // path parameter localVarRequestOptions.Data = updateStorageSingleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateStorageSingle"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/storage/{storage}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateStorageSingle", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMConfig Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateVMConfig(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateVMConfigWithHttpInfo(node, vmid, updateVMConfigRequest); return localVarResponse.Data; } /// /// updateVMConfig Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateVMConfigWithHttpInfo(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Post("/nodes/{node}/qemu/{vmid}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMConfig Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateVMConfigAsync(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateVMConfigWithHttpInfoAsync(node, vmid, updateVMConfigRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateVMConfig Set virtual machine options (asynchronous API). /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateVMConfigWithHttpInfoAsync(string node, int vmid, UpdateVMConfigRequest? updateVMConfigRequest = default(UpdateVMConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PostAsync("/nodes/{node}/qemu/{vmid}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMConfigSync Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateVMConfigSync(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateVMConfigSyncWithHttpInfo(node, vmid, updateVMConfigSyncRequest); return localVarResponse.Data; } /// /// updateVMConfigSync Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateVMConfigSyncWithHttpInfo(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMConfigSync"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMConfigSyncRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMConfigSync"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMConfigSync", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMConfigSync Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateVMConfigSyncAsync(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateVMConfigSyncWithHttpInfoAsync(node, vmid, updateVMConfigSyncRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateVMConfigSync Set virtual machine options (synchronous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateVMConfigSyncWithHttpInfoAsync(string node, int vmid, UpdateVMConfigSyncRequest? updateVMConfigSyncRequest = default(UpdateVMConfigSyncRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMConfigSync"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMConfigSyncRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMConfigSync"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMConfigSync", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateVMFirewallIPSetIP(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateVMFirewallIPSetIPWithHttpInfo(cidr, name, node, vmid, updateVMFirewallIPSetIPRequest); return localVarResponse.Data; } /// /// updateVMFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateVMFirewallIPSetIPWithHttpInfo(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->UpdateVMFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateVMFirewallIPSetIPAsync(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateVMFirewallIPSetIPWithHttpInfoAsync(cidr, name, node, vmid, updateVMFirewallIPSetIPRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateVMFirewallIPSetIP Update IP or Network settings /// /// Thrown when fails to make API call /// cidr /// name /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateVMFirewallIPSetIPWithHttpInfoAsync(string cidr, string name, string node, int vmid, UpdateVMFirewallIPSetIPRequest? updateVMFirewallIPSetIPRequest = default(UpdateVMFirewallIPSetIPRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'cidr' is set if (cidr == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'cidr' when calling ProxmoxGeneratedApi->UpdateVMFirewallIPSetIP"); } // verify the required parameter 'name' is set if (name == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'name' when calling ProxmoxGeneratedApi->UpdateVMFirewallIPSetIP"); } // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMFirewallIPSetIP"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("cidr", ProxmoxSharp.Client.ClientUtils.ParameterToString(cidr)); // path parameter localVarRequestOptions.PathParameters.Add("name", ProxmoxSharp.Client.ClientUtils.ParameterToString(name)); // path parameter localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMFirewallIPSetIPRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMFirewallIPSetIP"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMFirewallIPSetIP", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateVMFirewallOptions(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateVMFirewallOptionsWithHttpInfo(node, vmid, updateVMFirewallOptionsRequest); return localVarResponse.Data; } /// /// updateVMFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateVMFirewallOptionsWithHttpInfo(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/firewall/options", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateVMFirewallOptionsAsync(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateVMFirewallOptionsWithHttpInfoAsync(node, vmid, updateVMFirewallOptionsRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateVMFirewallOptions Set Firewall options. /// /// Thrown when fails to make API call /// node /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateVMFirewallOptionsWithHttpInfoAsync(string node, int vmid, UpdateVMFirewallOptionsRequest? updateVMFirewallOptionsRequest = default(UpdateVMFirewallOptionsRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMFirewallOptions"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMFirewallOptionsRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMFirewallOptions"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/firewall/options", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMFirewallOptions", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateVMFirewallRule(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateVMFirewallRuleWithHttpInfo(node, pos, vmid, updateVMFirewallRuleRequest); return localVarResponse.Data; } /// /// updateVMFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateVMFirewallRuleWithHttpInfo(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateVMFirewallRuleAsync(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateVMFirewallRuleWithHttpInfoAsync(node, pos, vmid, updateVMFirewallRuleRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateVMFirewallRule Modify rule data. /// /// Thrown when fails to make API call /// node /// pos /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateVMFirewallRuleWithHttpInfoAsync(string node, int pos, int vmid, UpdateVMFirewallRuleRequest? updateVMFirewallRuleRequest = default(UpdateVMFirewallRuleRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMFirewallRule"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("pos", ProxmoxSharp.Client.ClientUtils.ParameterToString(pos)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMFirewallRuleRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMFirewallRule"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMFirewallRule", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMSnapshotConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// CreateClusterReplication200Response public CreateClusterReplication200Response UpdateVMSnapshotConfig(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0) { ProxmoxSharp.Client.ApiResponse localVarResponse = UpdateVMSnapshotConfigWithHttpInfo(node, snapname, vmid, updateVMSnapshotConfigRequest); return localVarResponse.Data; } /// /// updateVMSnapshotConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// ApiResponse of CreateClusterReplication200Response public ProxmoxSharp.Client.ApiResponse UpdateVMSnapshotConfigWithHttpInfo(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMSnapshotConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->UpdateVMSnapshotConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMSnapshotConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMSnapshotConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = this.Client.Put("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMSnapshotConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } /// /// updateVMSnapshotConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CreateClusterReplication200Response public async System.Threading.Tasks.Task UpdateVMSnapshotConfigAsync(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { ProxmoxSharp.Client.ApiResponse localVarResponse = await UpdateVMSnapshotConfigWithHttpInfoAsync(node, snapname, vmid, updateVMSnapshotConfigRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// updateVMSnapshotConfig Update snapshot metadata. /// /// Thrown when fails to make API call /// node /// snapname /// vmid /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CreateClusterReplication200Response) public async System.Threading.Tasks.Task> UpdateVMSnapshotConfigWithHttpInfoAsync(string node, string snapname, int vmid, UpdateVMSnapshotConfigRequest? updateVMSnapshotConfigRequest = default(UpdateVMSnapshotConfigRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'node' is set if (node == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'node' when calling ProxmoxGeneratedApi->UpdateVMSnapshotConfig"); } // verify the required parameter 'snapname' is set if (snapname == null) { throw new ProxmoxSharp.Client.ApiException(400, "Missing required parameter 'snapname' when calling ProxmoxGeneratedApi->UpdateVMSnapshotConfig"); } ProxmoxSharp.Client.RequestOptions localVarRequestOptions = new ProxmoxSharp.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; var localVarContentType = ProxmoxSharp.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } var localVarAccept = ProxmoxSharp.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("node", ProxmoxSharp.Client.ClientUtils.ParameterToString(node)); // path parameter localVarRequestOptions.PathParameters.Add("snapname", ProxmoxSharp.Client.ClientUtils.ParameterToString(snapname)); // path parameter localVarRequestOptions.PathParameters.Add("vmid", ProxmoxSharp.Client.ClientUtils.ParameterToString(vmid)); // path parameter localVarRequestOptions.Data = updateVMSnapshotConfigRequest; localVarRequestOptions.Operation = "ProxmoxGeneratedApi.UpdateVMSnapshotConfig"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request var localVarResponse = await this.AsynchronousClient.PutAsync("/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("UpdateVMSnapshotConfig", localVarResponse); if (_exception != null) { throw _exception; } } return localVarResponse; } } }