Skip to content

Releases: rubrikinc/rubrik-sdk-for-python

Rubrik Python SDK v2.0.9

05 Jun 19:56
c27c30c
Compare
Choose a tag to compare

Added

  • get_all_hosts()
  • get_all_vcenters()
  • Added a new logging_level argument to the Connect function that lets users choose which logging level they would like to show in their logs. Note -- this change has limited functionality as all log messages are categorized as debug still. Additional enhancements will be added in the next release. (Issue 222)

Changed

  • object_id() search for vCenter objects now filters based on primary_cluster_id=local (Issue 214)

Fixed

  • object_id will return the ID for all cases using the database name and the database hosts for the oracle_db object type (Issue 199)
  • Fixed case-sensitivity for object_id (Issue 216)
  • Incorrect string join on get_vsphere_vm & get_sql_db trailing & in query (Issue 221)
  • Better encode special characteres in GET requests. (Issue 227)

Rubrik Python SDK v2.0.8

31 Mar 17:18
29e94de
Compare
Choose a tag to compare

Bug Fix

  • Fixes bug where HTTP 204 (no content) responses may cause an unhandled error (#210)

Rubrik Python SDK v2.0.7

24 Mar 18:40
caa6157
Compare
Choose a tag to compare

New Functions

  • query (CDM 5.2 GraphQL Support)

Enhancements

  • Add Oracle DB and Oracle Host Support to assign_sla()
  • Added the ability to fallback to an IPv4 address during bootstrap for when/if the provided IPv6 address becomes unreachable
  • Add support for archive consolidation to aws_s3_cloudon()
  • Improvements to the script that auto-generates documentation based off of function docstrings
  • Added latest snapshot to sql_live_mount()

Rubrik Python SDK v2.0.6

17 Jan 23:03
bc63061
Compare
Choose a tag to compare

New Functions

  • sql_db_export()
  • get_sql_db_files()
  • configure_login_banner()
  • get_esxi_subnets()
  • set_esxi_subnets()

Enhancements

  • Updated User-Agent string for better tracking through Rubrik Support Bundles including the ability to specify a Platform (example -- Ansible)
  • Adds UnixLike support to the assign_physical_host_fileset() function
  • Add force_full support for Oracle DB objects in on_demand_snapshot()

Bug Fixes

  • Fix IPv6 Bootstrap bug

Rubrik Python SDK v2.0.5

17 Oct 18:21
1a0ac05
Compare
Choose a tag to compare

Bug Fix

  • Fixes a potential breaking change on setup_cluster() that was caused by renaming arguments and adding several more in an incorrect order.

Rubrik Python SDK v2.0.4

16 Oct 17:52
133f8f9
Compare
Choose a tag to compare

New Functions

  • vcenter_refresh_vm()
  • add_floating_ips()
  • remove_floating_ips()
  • get_floating_ips()
  • get_vsphere_vm()
  • get_vsphere_vm_details()
  • get_vsphere_vm_file()
  • get_vsphere_vm_snapshot()
  • get_sql_db()

Enhancements

  • Add fileset and ahv support to assign_sla()
  • Add NAS share support to on_demand_snapshot()
  • Add force_full support for Oracle DB objects in on_demand_snapshot()

Bug Fixes

  • The setup_cluster() bootstrap function has been updated to apply NTP configurations correctly on CDM 5.0 and greater clusters (#53)
  • General enhancements to the bootstrap process

Rubrik Python SDK v2.0.3

03 Sep 14:37
7e3b331
Compare
Choose a tag to compare

New Functions

  • put()
  • get_sql_live_mount()
  • sql_live_mount()
  • sql_instant_recovery()
  • _validate_sql_recovery_point.md()
  • _validate_sql_db()

Enhancements

  • Include example in README that uses the api_token for authentication

Bug Fixes

  • Fix bug in setup_cluster() that would result in a continuous loop
  • Fix bug in create_sla() that would not properly set the on-brik retention if instant archive was enabled

Rubrik Python SDK v2.0.2

15 Aug 14:16
2a9db2d
Compare
Choose a tag to compare

New Functions

  • cluster_support_tunnel()
  • guest_credential()
  • cluster_node_id()
  • configure_replication_nat()
  • configure_replication_private()
  • configure_cluster_location()
  • update_proxy()
  • sql_live_mount()
  • delete_sla()
  • vsphere_live_unmount()
  • sql_live_unmount()
  • add_nas_share_to_host()
  • get_vsphere_live_mount()
  • get_vsphere_live_mount_names()

Enhancements

  • updated VS Code remote container config
  • added support for Oracle DB objects in object_id()
  • HTTPError error handling improvements
  • Better support for v2 SLAs in create_sla()

Bug Fixes

  • fixed bug that could potentially occur when calling the job_status() function
  • IPv6 bootstrap fixes
  • CDM v5.0 compatibility fix for configure_ntp()
  • Fix impotence bug in create_sla()

Rubrik Python SDK v2.0.1

04 Jun 03:14
46bf196
Compare
Choose a tag to compare

Enhancements

  • Adds supports for a new class of delete endpoints that require a config body to passed with the call instead of just the URL

Bug Fixes

  • fix backwards compatibility bug with the assign_sla() function

Rubrik Python SDK v2.0

14 May 18:51
d6bf709
Compare
Choose a tag to compare

Note - This release fundamental changes how errors are handled by the SDK which may result in breakages in any current scripts

Enhancements

  • add support for API authentication
  • implements new error handling that raises custom errors instead of calling SystemExit() (Potential breaking change)
  • new unit test coverage
  • support mysql in on_demand_snapshot()
  • support mssql_db and mssql_instance in object_id()
  • support mssql_host in 1assign_sla()1
  • add support for onezone_ia storage class in aws_s3_cloudout()

New Functions

  • create_user()
  • read_only_authorization()
  • minimum_installed_cdm_version()
  • update_aws_s3_cloudout()

Bug Fixes

  • configure_dns_servers()
  • configure_search_domain()
  • object_id()
  • refresh_vcenter()
  • azure_cloudout()