Fortinet FortiFlex
FortiFlex is a points-based program that empowers organizations to provision the Fortinet services and solutions, and offers the flexibility to scale their…
fortinet-fortiflex_1.1.0.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Configuration · 5 fields
- Server URL
servertext requiredSpecify the URL of the FortiFlex server to connect and perform automated operations.
Default
https://support.fortinet.com - Username
usernametext requiredSpecify the username to access the FortiFlex server to connect and perform automated operations.
- Password
passwordpassword requiredSpecify the password to access the FortiFlex server to connect and perform automated operations.
- Client ID
client_idtext requiredSpecify the ID of the client to access the FortiFlex server to connect and perform automated operations.
- Verify SSL
verify_sslcheckboxSelect whether the SSL certificate for the server is to be verified. By default, this option is set to True.
Default
true
Operations · 18
Get All Program List
get_programsget_programsRetrieves the list of programs for an account from FortiFlex.
No parameters.
ReturnserrorstatusmessageprogramsCreate Configuration 4 params
create_configurationcreate_configurationCreates a new configuration under a specific program in FortiFlex based on the program serial number, configuration name, product type, and the account ID that you have specified.
- Program Serial Number
programSerialNumbertext requiredSpecify the serial number of the program based on which to create a new configuration in FortiFlex.
- Configuration Name
nametext requiredSpecify the name of the configuration being created in FortiFlex.
- Product Type
productTypeIdselect requiredSelect the product type for which you want to create a new configuration in FortiFlex. You can select from the following options: FortiGate Virtual Machine - Service Bundle, FortiGate Virtual Machine - A La Carte Services, etc.
Options FortiGate Virtual Machine - Service BundleFortiGate Virtual Machine - A La Carte ServicesFortiWeb Virtual Machine - Service BundleFortiClient EMS On-PremFortiManager Virtual MachineFortiAnalyzer Virtual MachineFortiPortal Virtual MachineFortiADC Virtual MachineFortiGate HardwareFortiWeb Cloud - PrivateFortiWeb Cloud - PublicWhen Product Type is FortiGate Virtual Machine - Service Bundle
- Number of CPUs
FGTVMSBCpuSizeselect requiredSelect the number of CPUs for the configuration being created in FortiFlex. You can choose from the following options: 1 CPU, 2 CPU, 4 CPU, etc.
Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUsUnlimited CPUs - Service Package
FGTVMSBServicePackageselect requiredSelect the service package for the configuration being created in FortiFlex. You can choose from the following options: FortiCare, UTP, Enterprise, or ATP.
Options FortiCareUTPEnterpriseATP - VDOMs
FGTVMSBVDOMsintegerSpecify the number of VDOMs for the configuration being created in FortiFlex.
When Product Type is FortiGate Virtual Machine - A La Carte Services
- Number of CPUs
FGTVMALCSCpuSizeinteger requiredSpecify the number of CPUs for the configuration being created in FortiFlex. You can specify a minimum of 1 and maximum of 96 CPUs.
- Support Services
FGTVMALCSSupportServicesselect requiredSelect the support services for the configuration being created in FortiFlex. You can choose from the following options: FortiCare Premium or FortiCare Elite.
Options FortiCare PremiumFortiCare Elite - FortiGuard Services
FGTVMALCSFortiGuardServicesmultiselectSelect the fortiGuard services for the configuration being created in FortiFlex. You can select one or more of the following options: Intrusion Prevention, Advanced Malware, Security Rating, etc.
Options Intrusion PreventionAdvanced MalwareSecurity RatingDLPAI-Based InLine SandboxWeb, DNS & Video Filtering - Cloud Services
FGTVMALCSCloudServicesmultiselectSelect the cloud services for the configuration being created in FortiFlex. You can select one or more of the following options: FortiGate Cloud, SD-WAN Underlay, FortiAnalyzer Cloud with SOCaaS, or FortiAnalyzer Cloud.
Options FortiGate CloudSD-WAN UnderlayFortiAnalyzer Cloud with SOCaaSFortiAnalyzer Cloud - VDOMs
FGTVMALCSVDOMsintegerSpecify the number of VDOMs for the configuration being created in FortiFlex. You can specify a minimum of 0 and maximum of 500 VDOMs.
When Product Type is FortiWeb Virtual Machine - Service Bundle
- Number of CPUs
FWBVMSBCpuSizeselect requiredSelect the number of CPUs for the configuration being created in FortiFlex. You can choose from the following options: 1 CPU, 2 CPU, 4 CPU, etc.
Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs - Service Package
FWBVMSBServicePackageselect requiredSelect the service package for the configuration being created in FortiFlex. You can choose from the following options: Standard or Advanced.
Options StandardAdvanced
When Product Type is FortiClient EMS On-Prem
- Number of Endpoints for ZTNA/VPN
FCLTZtnainteger requiredSpecify the count of ZTNA/VPN endpoints for the configuration being created in FortiFlex.
- Number of Endpoints for EPP/ATP + ZTNA/VPN
FCLTEppinteger requiredSpecify the count of EPP/ATP + ZTNA/VPN endpoints for the configuration being created in FortiFlex.
- Number of Endpoints for Chromebook
FCLTChromebookinteger requiredSpecify the count of Chromebook endpoints for the configuration being created in FortiFlex.
- Support Services
FCLTSupportServicesselect requiredSelect the support services for the configuration being created in FortiFlex. Only FortiCare Premium is available for now.
Options FortiCare Premium - Addons
FCLTAddonsselectSelect the addons for the configuration being created in FortiFlex. Only FortiCare Best Practice is available for now.
Options FortiCare Best Practice
When Product Type is FortiManager Virtual Machine
- Number of Managed Devices
FMGVMManagedDevicesinteger requiredSpecify the count of managed devices for the configuration being created in FortiFlex.
- Number of ADOMs
FMGVMAdomsinteger requiredSpecify the count of ADOMs for the configuration being created in FortiFlex.
When Product Type is FortiAnalyzer Virtual Machine
- Daily Storage (GB)
FAZVMDailyStorageinteger requiredSpecify the daily storage, in GB, for the configuration being created in FortiFlex.
- Number of ADOMs
FAZVMAdomsinteger requiredSpecify the count of ADOMs for the configuration being created in FortiFlex.
- Support Services
FAZSupportServicesselect requiredSelect the support services for the configuration being created in FortiFlex. Only FortiCare Premium is available for now.
Options FortiCare Premium
When Product Type is FortiPortal Virtual Machine
- Number of Managed Devices
FPTLManagedDevicesinteger requiredSpecify the count of managed devices for the configuration being created in FortiFlex.
When Product Type is FortiADC Virtual Machine
- Number of CPUs
FADCVMCpuSizeselect requiredSelect the number of CPUs for the configuration being created in FortiFlex. You can choose from the following options: 1 CPU, 2 CPU, 4CPU, etc.
Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUs - Service Package
FADCVMServicePackageselect requiredSelect the service package for the configuration being created in FortiFlex. You can choose from the following options: Standard, Advanced, or FortiCare Premium.
Options StandardAdvancedFortiCare Premium
When Product Type is FortiGate Hardware
- Device Model
FGTHDeviceModelselect requiredSelect the device model for the configuration being created in FortiFlex. You can choose from the following options: FortiGate-40F, FortiGate-70F, FortiGate-80F, etc.
Options FortiGate-40FFortiGate-60FFortiGate-70FFortiGate-80FFortiGate-100FFortiGate-60EFortiGate-61FFortiGate-100EFortiGate-101FFortiGate-200EFortiGate-200FFortiGate-201FFortiGate-400FFortiGate-600FFortiWifi-40FFortiWifi-60FFortiGateRugged-60FFortiGateRugged-70FFortiGate-81FFortiGate-101EFortiGate-401FFortiGate-1000FFortiGate-1800FFortiGate-2600FFortiGate-3000FFortiGate-3001FFortiGate-3200F - Service Package
FCLTServicePackageselect requiredSelect the service package for the configuration being created in FortiFlex. You can choose from the following options: FortiCare Premium, FortiCare Elite, ATP, UTP, or Enterprise.
Options FortiCare PremiumFortiCare EliteATPUTPEnterprise - Addons
FCLTAddonsmultiselectSelect the addons for the configuration being created in FortiFlex. You can select one or more of the following options: FortiCare Elite Upgrade, FortiGate Cloud Management, AI-Based In-line Sandbox, etc. NOTE: FortiCare Elite Upgrade as an add-on is not applicable when the Service Package selected is FortiCare Premium or FortiCare Elite.
Options FortiCare Elite UpgradeFortiGate Cloud ManagementAI-Based In-line SandboxSD-WAN UnderlayFortiGuard DLPFortiAnalyzer CloudSOCaaSManaged FortiGateSD-WAN Connector for FortiSASEFortiConverter Service
When Product Type is FortiWeb Cloud - Private
- Average Throughput
FWBCPVTAvgThroughputselect requiredSelect the average throughput for the configuration being created in FortiFlex.
Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps - Web Applications
FWBCPVTWebAppinteger requiredSpecify the number of web applications for the configuration being created in FortiFlex.
When Product Type is FortiWeb Cloud - Public
- Average Throughput
FWBCPUBAvgThroughputselect requiredSelect the average throughput for the configuration being created in FortiFlex.
Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps - Web Applications
FWBCPUBWebAppinteger requiredSpecify the number of web applications for the configuration being created in FortiFlex.
- Account ID
accountIdintegerSpecify the ID of the account based on which you want to create a new configuration in FortiFlex..
ReturnserrorstatusconfigsmessageGet All Configuration List 2 params
get_configurationsget_configurationsRetrieves the list of configurations for a program from FortiFlex based on the program serial number and the account ID you have specified.
- Program Serial Number
programSerialNumbertext requiredSpecify the serial number of the program based on which you want to retrieve configurations from FortiFlex.
- Account ID
accountIdintegerSpecify the ID of the account based on which you want to retrieve configurations from FortiFlex.
ReturnserrorstatusconfigsmessageEnable Configuration 1 param
enable_configurationenable_configurationEnables a specific configuration of a program in FortiFlex based on the configuration ID you have specified. NOTE: Enabling a configuration affects all virtual machines which were created based on that configuration.
- Configuration ID
idinteger requiredSpecify the ID of the configuration to enable in FortiFlex.
ReturnserrorstatusconfigsmessageDisable Configuration 1 param
disable_configurationdisable_configurationDisables a specific configuration of a program in FortiFlex based on the configuration ID you have specified.NOTE: Disabling a configuration affects all virtual machines which were created based on that configuration.
- Configuration ID
idinteger requiredSpecify the ID of the configuration to disable in FortiFlex.
ReturnserrorstatusconfigsmessageUpdate Configuration 3 params
update_configurationupdate_configurationUpdates an existing configuration in FortiFlex based on the configuration ID, configuration name, and the product type that you have specified. NOTE: Updating a configuration's parameters, such as the number of CPUs, affects all virtual machines which were created based on that configuration.
- Configuration ID
idinteger requiredSSpecify the ID of the configuration being updated in FortiFlex.
- Configuration Name
nametext requiredSpecify the name of the configuration being updated in FortiFlex.
- Product Type
productTypeIdselect requiredSelect the product type to update in FortiFlex. You can select from the following options: FortiGate Virtual Machine - Service Bundle, FortiGate Virtual Machine - A La Carte Services, etc.
Options FortiGate Virtual Machine - Service BundleFortiGate Virtual Machine - A La Carte ServicesFortiWeb Virtual Machine - Service BundleFortiClient EMS On-PremFortiManager Virtual MachineFortiAnalyzer Virtual MachineFortiPortal Virtual MachineFortiADC Virtual MachineFortiGate HardwareFortiWeb Cloud - PrivateFortiWeb Cloud - PublicWhen Product Type is FortiGate Virtual Machine - Service Bundle
- Number of CPUs
FGTVMSBCpuSizeselect requiredSelect the number of CPUs for the configuration being updated in FortiFlex. You can choose from the following options: 1 CPU, 2 CPUs, 4 CPUs, etc.
Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUsUnlimited CPUs - Service Package
FGTVMSBServicePackageselect requiredSelect the service package for the configuration being updated in FortiFlex. You can choose from the following options: FortiCare, UTP, Enterprise, or ATP.
Options FortiCareUTPEnterpriseATP - VDOMs
FGTVMSBVDOMsintegerSpecify the number of VDOMs for the configuration being updated in FortiFlex.
When Product Type is FortiGate Virtual Machine - A La Carte Services
- Number of CPUs
FGTVMALCSCpuSizeinteger requiredSpecify the number of CPUs for the configuration being updated in FortiFlex. You can specify a minimum of 1 and maximum of 96 CPUs.
- Support Services
FGTVMALCSSupportServicesselect requiredSelect the support services for the configuration being updated in FortiFlex. You can choose from the following options: FortiCare Premium or FortiCare Elite.
Options FortiCare PremiumFortiCare Elite - FortiGuard Services
FGTVMALCSFortiGuardServicesmultiselectSelect the fortiGuard services for the configuration being updated in FortiFlex. You can select one or more of the following options: Intrusion Prevention, Advanced Malware, etc.
Options Intrusion PreventionAdvanced MalwareSecurity RatingDLPAI-Based InLine SandboxWeb, DNS & Video Filtering - Cloud Services
FGTVMALCSCloudServicesmultiselectSelect the cloud services for the configuration being updated in FortiFlex. You can select one or more of the following options: FortiGate Cloud, SD-WAN Underlay, FortiAnalyzer Cloud with SOCaaS, or FortiAnalyzer Cloud.
Options FortiGate CloudSD-WAN UnderlayFortiAnalyzer Cloud with SOCaaSFortiAnalyzer Cloud - VDOMs
FGTVMALCSVDOMsintegerSpecify the number of VDOMs for the configuration being updated in FortiFlex. You can specify a minimum of 0 and maximum of 500 VDOMs.
When Product Type is FortiWeb Virtual Machine - Service Bundle
- Number of CPUs
FWBVMSBCpuSizeselect requiredSelect the number of CPUs for the configuration being updated in FortiFlex. You can choose from the following options: 1 CPU, 2 CPUs, 4 CPUs, etc.
Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs - Service Package
FWBVMSBServicePackageselect requiredSelect the service package for the configuration being updated in FortiFlex. You can choose from the following options: Standard or Advanced.
Options StandardAdvanced
When Product Type is FortiClient EMS On-Prem
- Number of Endpoints for ZTNA/VPN
FCLTZtnainteger requiredSpecify the count of ZTNA/VPN endpoints for the configuration being updated in FortiFlex.
- Number of Endpoints for EPP/ATP + ZTNA/VPN
FCLTEppinteger requiredSpecify the count of EPP/ATP + ZTNA/VPN endpoints for the configuration being updated in FortiFlex.
- Number of Endpoints for Chromebook
FCLTChromebookinteger requiredSpecify the count of Chromebook endpoints for the configuration being updated in FortiFlex.
- Support Services
FCLTSupportServicesselect requiredSelect the support services for the configuration being updated in FortiFlex. Only FortiCare Premium is available for now.
Options FortiCare Premium - Addons
FCLTAddonsselectSelect the addons for the configuration being updated in FortiFlex. Only FortiCare Best Practice is available for now.
Options FortiCare Best Practice
When Product Type is FortiManager Virtual Machine
- Number of Managed Devices
FMGVMManagedDevicesinteger requiredSpecify the count of managed devices for the configuration being updated in FortiFlex.
- Number of ADOMs
FMGVMAdomsinteger requiredSpecify the count of ADOMs for the configuration being updated in FortiFlex.
When Product Type is FortiAnalyzer Virtual Machine
- Daily Storage (GB)
FAZVMDailyStorageinteger requiredSpecify the daily storage, in GB, for the configuration being updated in FortiFlex.
- Number of ADOMs
FAZVMAdomsinteger requiredSpecify the count of ADOMs for the configuration being updated in FortiFlex.
- Support Services
FAZSupportServicesselect requiredSelect the support services for the configuration being updated in FortiFlex. Only FortiCare Premium is available for now.
Options FortiCare Premium
When Product Type is FortiPortal Virtual Machine
- Number of Managed Devices
FPTLManagedDevicesinteger requiredSpecify the count of managed devices for the configuration being updated in FortiFlex.
When Product Type is FortiADC Virtual Machine
- Number of CPUs
FADCVMCpuSizeselect requiredSelect the number of CPUs for the configuration being updated in FortiFlex. You can choose from the following options: 1 CPU, 2 CPUs, 4 CPUs, etc.
Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUs - Service Package
FADCVMServicePackageselect requiredSelect the service package for the configuration being updated in FortiFlex. You can choose from the following options: Standard, Advanced, or FortiCare Premium.
Options StandardAdvancedFortiCare Premium
When Product Type is FortiGate Hardware
- Device Model
FGTHDeviceModelselect requiredSelect the device model for the configuration being updated in FortiFlex. You can choose from the following options: FortiGate-40F, FortiGate-60F, FortiGate-70F, etc.
Options FortiGate-40FFortiGate-60FFortiGate-70FFortiGate-80FFortiGate-100FFortiGate-60EFortiGate-61FFortiGate-100EFortiGate-101FFortiGate-200EFortiGate-200FFortiGate-201FFortiGate-400FFortiGate-600FFortiWifi-40FFortiWifi-60FFortiGateRugged-60FFortiGateRugged-70FFortiGate-81FFortiGate-101EFortiGate-401FFortiGate-1000FFortiGate-1800FFortiGate-2600FFortiGate-3000FFortiGate-3001FFortiGate-3200F - Service Package
FCLTServicePackageselect requiredSelect the service package for the configuration being updated in FortiFlex. You can choose from the following options: FortiCare Premium, FortiCare Elite, ATP, UTP, or Enterprise.
Options FortiCare PremiumFortiCare EliteATPUTPEnterprise - Addons
FCLTAddonsmultiselectSelect the addons for the configuration being updated in FortiFlex. You can select one or more of the following options: FortiCare Elite Upgrade, FortiGate Cloud Management, AI-Based In-line Sandbox, etc. NOTE: FortiCare Elite Upgrade as an add-on is not applicable when the Service Package selected is FortiCare Premium or FortiCare Elite.
Options FortiCare Elite UpgradeFortiGate Cloud ManagementAI-Based In-line SandboxSD-WAN UnderlayFortiGuard DLPFortiAnalyzer CloudSOCaaSManaged FortiGateSD-WAN Connector for FortiSASEFortiConverter Service
When Product Type is FortiWeb Cloud - Private
- Average Throughput
FWBCPVTAvgThroughputselect requiredSelect the average throughput for the configuration being updated in FortiFlex.
Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps - Web Applications
FWBCPVTWebAppinteger requiredSpecify the number of web applications for the configuration being updated in FortiFlex.
When Product Type is FortiWeb Cloud - Public
- Average Throughput
FWBCPUBAvgThroughputselect requiredSelect the average throughput for the configuration being updated in FortiFlex.
Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps - Web Applications
FWBCPUBWebAppinteger requiredSpecify the number of web applications for the configuration being updated in FortiFlex.
ReturnserrorstatusconfigsmessageCreate VM Entitlements 5 params
create_vm_entitlementscreate_vm_entitlementsCreates a VM entitlement in FortiFlex based on the configuration ID, count, folder path, description, and end datetime that you have specified.
- Configuration ID
configIdinteger requiredSpecify the ID of the configuration based on which you want to create VM entitlements in FortiFlex.
- Count
countinteger requiredSpecify the count of VM entitlements to create in FortiFlex.
- Folder Path
folderPathtext requiredSpecify the folder path of VM entitlements to create in FortiFlex.
- Description
descriptiontextSpecify a brief description of VM entitlements to create in FortiFlex.
- End DateTime
endDatedatetimeSpecify the end date time of VM entitlements being created in FortiFlex. NOTE: By passing null or leaving the field blank, the entitlement uses the Program's end date automatically.
ReturnserrorstatusmessageentitlementsCreate Hardware Entitlements 3 params
create_hardware_entitlementscreate_hardware_entitlementsCreates a hardware entitlement in FortiFlex based on the configuration ID, serial numbers, and end datetime that you have specified.
- Configuration ID
configIdinteger requiredSpecify the ID of the configuration based on which you want to create a hardware entitlements in FortiFlex.
- Serial Numbers
serialNumberstext requiredSpecify the serial numbers of the hardware entitlements to create in FortiFlex. You can specify multiple serial numbers as comma-separated values.
- End DateTime
endDatedatetimeSpecify the end datetime of the hardware entitlements to create in FortiFlex. NOTE: By passing null or leaving the field blank, the entitlement uses the Program's end date automatically.
ReturnsstatusmessageerrorentitlementsGet All Entitlement List 1 param
get_entitlementsget_entitlementsRetrieves the list of existing entitlements for a configuration from FortiFlex based on the configuration ID or account ID you have specified.
- Fetch Based On
filterselect requiredSelect an option to filter entitlements retrieved by this operation. You can choose from following options: Configuration ID or Account ID and Program Serial Number.
Options Configuration IDAccount ID and Program Serial NumberWhen Fetch Based On is Configuration ID
- Configuration ID
configIdinteger requiredSpecify the configuration ID, in the configuration ID field, to retrieve entitlements from FortiFlex.
When Fetch Based On is Account ID and Program Serial Number
- Account ID
accountIdinteger requiredSpecify the account ID to retrieve entitlements from FortiFlex.
- Program Serial Number
programSerialNumbertext requiredSpecify the program serial number to retrieve entitlements from FortiFlex.
ReturnserrorstatusmessageentitlementsUpdate Entitlements 4 params
update_entitlementsupdate_entitlementsUpdate an entitlements details in FortiFlex based on the configuration ID, serial number, description, and end datetime that you have specified.
- Configuration ID
configIdinteger requiredSpecify the configuration ID of the entitlements to update in FortiFlex.
- Serial Number
serialNumbertext requiredSpecify the serial number of the entitlements to update in FortiFlex.
- Description
descriptiontext requiredSpecify the brief description of the entitlements to update in FortiFlex.
- End DateTime
endDatedatetime requiredSpecify the end datetime of the entitlements to update in FortiFlex.
ReturnsstatusmessageerrorentitlementsStop Entitlement 1 param
stop_entitlementstop_entitlementStop an entitlement in FortiFlex based on the serial number you have specified.
- Serial Number
serialNumbertext requiredSpecify the serial number of the entitlement to stop in FortiFlex.
ReturnsstatusmessageerrorentitlementsReactivate Entitlement 1 param
reactivate_entitlementreactivate_entitlementReactivate an entitlement after being stopped in FortiFlex based on the serial number you have specified.
- Serial Number
serialNumbertext requiredSpecify the serial number of the entitlement to reactivate in FortiFlex.
ReturnsstatusmessageerrorentitlementsTransfer Entitlement 5 params
transfer_entitlementtransfer_entitlementMove serial numbers and entitlements managed by FortiFlex from one account to another based on the source account ID, target account ID, and other input parameters you have specified.
- Source Account ID
sourceAccountIdinteger requiredSpecify the source account ID from where the entitlements are being transferred in FortiFlex.
- Source Config ID
sourceConfigIdinteger requiredSpecify the source config ID associated with the entitlements being transferred in FortiFlex.
- Serial Number
serialNumberstext requiredSpecify the comma-separated serial numbers of the entitlements being transferred in FortiFlex.
- Target Account ID
targetAccountIdinteger requiredSpecify the target account ID to where the entitlements are being transferred in FortiFlex.
- Target Config ID
targetConfigIdintegerSpecify the target config ID associated with the entitlements being transferred in FortiFlex.
ReturnsstatusmessageerrorentitlementsRegenerate Token for VM 1 param
regenerate_token_for_vmregenerate_token_for_vmRegenerate token for a VM in FortiFlex based on the serial number you have specified.
- Serial Number
serialNumbertext requiredSpecify the serial number of the VM to regenerate its token in FortiFlex.
ReturnsstatusmessageerrorentitlementsGet Point Usage for VM 3 params
get_point_usage_for_vmget_point_usage_for_vmRetrieves the total points consumed by one or more virtual machines in a date range in FortiFlex based on the datetime range and other parameters you have specified.
- Fetch Based On
filterselect requiredSelect an option to filter points usage retrieved by this operation. You can choose from following options: Configuration ID or Account ID and Program Serial Number.
Options Configuration IDAccount ID and Program Serial NumberWhen Fetch Based On is Configuration ID
- Configuration ID
configIdinteger requiredSpecify the configuration ID, in the configuration ID field, to retrieve points usage from FortiFlex.
When Fetch Based On is Account ID and Program Serial Number
- Account ID
accountIdinteger requiredSpecify the account ID to retrieve points usage from FortiFlex.
- Program Serial Number
programSerialNumbertext requiredSpecify the program serial number to retrieve points usage from FortiFlex.
- Start DateTime
startDatedatetime requiredSpecify the start date and time of the points usage to retrieve points for a VM in FortiFlex.
- End DateTime
endDatedatetime requiredSpecify the end date and time of the points usage to retrieve points for a VM in FortiFlex.
ReturnsstatusmessageerrorentitlementsGet All Group List 1 param
get_groupsget_groupsRetrieves the list of groups from FortiFlex based on the account ID you have specified.
- Account ID
accountIdinteger requiredSpecify the ID of the account to retrieve its groups from FortiFlex.
ReturnserrorgroupsstatusmessageGet NextToken for Group 3 params
get_group_next_tokenget_group_next_tokenRetrieves first available token from FortiFlex based on the account ID and other input parameters you have specified.
- Account ID
accountIdinteger requiredSpecify the ID of the account to retrieve its NextToken from FortiFlex.
- Config ID
configIdtextSpecify the ID of the config associated with the account to retrieve its NextToken from FortiFlex.
- Asset Folder Path
folderPathtextSpecify the folder path of the asset to retrieve its NextToken from FortiFlex.
ReturnserrorstatusmessageentitlementsExecute API Request 4 params
execute_api_requestexecute_api_requestCalls any endpoint of the FortiFlex HTTP API with the configured credentials. A full URL is refused so the credentials only ever go to the configured server.
- Endpoint
endpointtext requiredPath on the configured server, for example /ES/api/fortiflex/v2/programs/list. A full URL is refused.
- Method
methodselectHTTP method to use. Defaults to GET.
Default
GETOptions GETPOSTPUTPATCHDELETE - Query Parameters
query_paramsjson(Optional) JSON object of query string parameters to send with the request.
- Request Body
request_bodyjson(Optional) JSON object sent as the request body with POST, PUT and PATCH.