Releases: rubrikinc/rubrik-sdk-for-python
Releases · rubrikinc/rubrik-sdk-for-python
Rubrik Python SDK v2.0.9
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 asdebug
still. Additional enhancements will be added in the next release. (Issue 222)
Changed
object_id()
search for vCenter objects now filters based onprimary_cluster_id=local
(Issue 214)
Fixed
object_id
will return the ID for all cases using the database name and the database hosts for theoracle_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
Bug Fix
- Fixes bug where HTTP 204 (no content) responses may cause an unhandled error (#210)
Rubrik Python SDK v2.0.7
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
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 theassign_physical_host_fileset()
function - Add
force_full
support for Oracle DB objects inon_demand_snapshot()
Bug Fixes
- Fix IPv6 Bootstrap bug
Rubrik Python SDK v2.0.5
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
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
andahv
support toassign_sla()
- Add NAS
share
support toon_demand_snapshot()
- Add
force_full
support for Oracle DB objects inon_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
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
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
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
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
inon_demand_snapshot()
- support
mssql_db
andmssql_instance
inobject_id()
- support
mssql_host
in 1assign_sla()1 - add support for
onezone_ia
storage class inaws_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()