All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Fixed implementation of
list_right_sizing_rules()
API
- Fixed
[NA-SPOT-SDK-03] URL Path Traversal in Python SDK
from pentesting report
- Fixed static analysis issues reported by semgrep tool
- Added
SpotSizeAttributes
model for Azure Stateful Nodes
- Fixed implementation of
update_access_policy()
API
- Updated
AccessPolicy
model for Admin Organization
- Added support for organization user, usergroup and access policy APIs
instance_name
field in theRoll
model for Ocean GCP
Detach Instances
ansInstance Types Filters Simulation
APIs support added in the GCP Ocean Client- Added Create/Update Cluster
Preferred Instance Type
model for the GCP Ocean
Delete Volume in a Stateful Instance
API support added in the AWS Elastigroup Client.- Added
DynamicIops
model for AWS Elastigroup.
- Import EC2 instance API support added in the AWS Elastigroup Client.
- Added
VolumeAttachments
andResourceRequirements
models for AWS Elastigroup.
- Create/Update rightsizing rule APIs fixed for optional parameters.
- Updated documentation for Ocean rightsizing APIs.
- Added support for Ocean ECS.
- Added
SuspensionHours
model for Ocean AKS.
- Updated new fields for ocean Automatic Rightsizing APIs (beta release. For internal use only).
- Updated new fields for ocean Automatic Rightsizing APIs (beta release. For internal use only).
- Added
initialNodes
query parameter for Ocean GKEcreate_virtual_node_group
API.
- Made few parameter objects in
create_right_sizing_rule
to optional (For internal use only).
- Added support for ocean Automatic Rightsizing APIs (beta release. For internal use only).
- Added detach nodes, get elastilog and cost APIs for Ocean AKS.
- Fixed
AggressiveScaleDown
model in GCP Ocean.
- Added
AggressiveScaleDown
model in GCP Ocean.
- Added
AmiAutoUpdate
model in Aws Ocean.
- Added
linux_o_s_config
field in theNodePoolProperties
model for Azure AKS Ocean.
- Added
should_deregister_from_lb
field in theDeallocationConfig
model for Azure Stateful Node.
- Added support for
Task
in Ocean AKSScheduling
model.
- Added support for
GpuType
in Ocean AKSFilters
model.
- Added support for Ocean GKE APIs.
- Removed support for Azure V2 Scaleset Elastigroup (Deprecated).
- Removed support for deprecated MLB/Multai integration.
- Added support for Ocean AKS Migration APIs.
- Added support for Ocean AKS Roll APIs.
- Elastigroup AWS EMR: Added missing fields in various models.
- Ocean AWS: Added support for
aggressive_scale_down
inDown
model.
- Added some more functions in admin client.
- Added new functions in admin client.
- Typos.
- Added
caching
field in Azure Stateful NodeOsDisk
andDataDisk
model.
- Added
public_settings
andprotected_settings
fields in Azure Stateful NodeExtension
model.
- Added support for Azure Stateful Node APIs:
swap_os_disk_to_stateful_node
,get_all_stateful_node_costs
,get_all_stateful_node_aggregated_daily_costs
,get_stateful_node_size_usage
.
- Updated fields in all Azure Stateful Node model classes as per latest schema.
- Passing query parameters in
delete_virtual_node_group
API for AWS Ocean.
- Added support for Ocean AWS APIs - VNG, Migration and Extended Resource Definition.
- Removed Multai Load Balancer support.
- field names in Ocean AKS models.
- Corrected version information
- Added versions for PyPI packages in requirements.txt
- Added support for Ocean AKS APIs.
- Compilation errors in previous version.
- Add support for GCP Eastigroup APIs:
get_elastilog
,get_cost_per_account
,get_instance_status
,lock_instance
,unlock_instance
- Add support for HPC Cluster CRUD APIs.
- Add
on_demand_types
field inInstanceTypes
model in spotinst_sdk2.models.elastigroup.aws
- Add
restrict_single_az
field inStrategy
model in spotinst_sdk2.models.elastigroup.aws
- Add support for AWS Ocean APIs: Roll APIs,
get_aggregated_cluster_costs
,get_cluster_nodes
,get_heartbeat_status
,instance_types_filter_simulation
,allowed_instance_types
andlaunch_nodes_in_vng
- Fixed
ocean_cd_describe_rollout_phase
andocean_cd_describe_workloads_revision
APIs
- Add support to use a base URL different from
https://api.spotinst.io
- Add support for Ocean CD APIs
- Fixed logging issue for response object.
- Add support for AWS Ocean API:
fetch_rightsizing_recommendations
- Add request and response logging in client at DEBUG level.
- Fixed issue of adding multiple streamhandlers for each client.
- Add
immediate_o_d_recover_threshold
field inStrategy
model in spotinst_sdk2.models.elastigroup.aws
- Add support for AWS Managed Instance API:
import_multiple_instances_from_aws
- Add support for AWS Managed Instance API:
get_multiple_instances_migration_status
- Add
cpu_options
,auto_healing
,metadata_options
fields inLaunchSpecification
model in spotinst_sdk2.models.elastigroup.aws
- Changed
health_check_types
to string list inHealth
model in spotinst_sdk2.models.stateful_node
- TypeError in spotinst_sdk2.models.stateful_node
- Add support for Azure Stateful Node APIs
- Add support for remaining Azure V3 APIs:
get_elastigroup_status
,get_vm_healthiness
,suspend_elastigroup
,resume_elastigroup
,start_deployment
,get_all_deployments
,get_deployment
,get_deployment_status
,import_from_scale_set
,import_from_virtual_machine
,import_from_load_balancer
,import_from_application_gateway
,create_vm_signal
,get_elastilog
- Fixed the parameter annotation of
update_managed_instance_states
API
- Fixed the parameter type of
update_managed_instance_states
API - Modified the return object of
update_managed_instance_states
API
- Add support for AWS Managed Instance API:
get_managed_instance_costs
- Add support for AWS Managed Instance API:
delete_volume_in_managed_instance
- Add support for AWS Managed Instance API:
update_managed_instance_states
- Add support for Azure V3 CRUD APIs
- Add support for AWS Managed Instance API:
get_managed_instance_status
- Add support for AWS Elastigroup compute-> launchSpecification field:
images
- Add support for AWS Elastigroup strategy field:
utilizeCommitments
- Add support for Ocean AWS field:
aggregatedCosts
- Add support for Ocean AWS LaunchSpec field:
loadBalancers
- correctly classify v2's minimum Python version
- Add support for Elastigroup Scaling field:
multipleMetrics
- Add support for Elastigroup Scaling Up/Down field:
stepAdjustments
- Add support for Elastigroup Scaling Up/Down field:
isEnabled
- Add support for Elastigroup Scaling Up field:
minTarget capacity
- Add support for Elastigroup Scaling Up field:
maxTarget capacity
- Add support for Elastigroup Scaling Up field:
shouldResumeStateful
- Change the api call made by elastigroup aws
get_deployment_status
- Add support for Elastigroup field:
resourceTagSpecification
- Add support for timeout parameter. defaults to "None"
- Properly populate message in client exception
- Type annotation for Managed Instance object
- Managed Instance load balancer config can be initialized without arguments
- Add support for Managed Instance (AWS)
- New credentials file format:
INI
(#84)
- Model setup.azure.AzureCredentials
- Model setup.azure.AzureSetCredentialsRequest
- Model setup.gcp.GcpCredentials
- Model setup.gcp.GcpCredentials.ServiceAccount
- Model setup.gcp.GcpSetCredentialsRequest
- Client setup for aws to handle credentials routes
- Client setup for azure to handle credentials routes
- Client setup for gcp to handle credentials routes
- Credentials routes for aws under admin client
- Added aws create external id route to admin client
- Model aws.groupRoll.strategy
- Fixed aws.groupRoll.strategy field, it should be a json and not a string
- field aws.emr.coreGroup.capacity.unit
- field aws.emr.taskGroup.capacity.unit
- Fixed aws.emr.masterGroup documentation, it mentioned a field that didn't exist
- get all ocean right sizing recommendations
- field aws.group.compute.launchSpecification.blockDeviceMappings.ebs.throughput
- process suspension by user
- License and documentation
- field aws.group.strategy.scalingStrategy.terminate_at_end_of_billing_hour from documentation
- field aws.group.strategy.scalingStrategy.terminationPolicy
- field aws.group.compute.launchSpecification.blockDeviceMappings.ebs.dynamicVolumeSize
- field aws.group.strategy.scalingStrategy.terminate_at_end_of_billing_hour from documentation
- get_elastilog for aws client
- hpcGridEngine to azure eg model
- last 13 Azure endpoints
- Changed single client to multiple clients
- Added Session object
- Moved models to /models dir
- gcp client with all endpoints
- azure client with 5/18 endpoints
- Event subscription endpoints
auto_apply_tags
parameter added to update EGmanaged_actions
parameter added to beanstalk EG
- Emr support new strategy type, cluster object and additional computer parameters
create_ocean_cluster
update_ocean_cluster
get_all_ocean_cluster
get_ocean_cluster
delete_ocean_cluster
- parameter credit_specification to EG schema
- [src] - fixing documentation
- [src] - removing argparse from SDK
- [src] - adding log level to ENV
- Logger using standard logging module
- "--log-level" command line argument (more info in "--help")
- "log_level" constructor parameter, defaults to "critical"
- Created changelog
- Documentation for the entire project
- kubernetes api calls
- b/g deployment api calls
- beanstalk api calls
- stateful api calls
- process and scaling policy api calls
- deployment api calls
- instance api calls
- cost api calls
- other misc api calls
- update_elastigroup() had error with the send_put() request arguments
- version to Rancher integration
get_deployment_status
get_elastigroup_activity
import_stateful_instance
get_stateful_import_status
delete_stateful_import
deallocate_stateful_instance
recycle_stateful_instance
get_stateful_instances
resume_stateful_instance
pause_stateful_instance
- testing for
__init__.py