Rubrik SDK for Python
doc-example-update
doc-example-update
  • Introduction
  • Getting Started
    • Quick Start
  • Base API Calls
    • delete
    • get
    • job_status
    • patch
    • post
    • put
  • Bootstrap Functions
    • setup_cluster
    • status
  • Cluster Functions
    • add_vcenter
    • cluster_node_ip
    • cluster_node_name
    • cluster_version
    • configure_dns_servers
    • configure_ntp
    • configure_search_domain
    • configure_smtp_settings
    • configure_syslog
    • configure_timezone
    • configure_vlan
    • create_user
    • end_user_authorization
    • minimum_installed_cdm_version
    • read_only_authorization
    • refresh_vcenter
  • Cloud Functions
    • add_aws_native_account
    • aws_s3_cloudon
    • aws_s3_cloudout
    • azure_cloudon
    • azure_cloudout
    • update_aws_native_account
    • update_aws_s3_cloudout
  • Data Management Functions
    • assign_sla
    • begin_managed_volume_snapshot
    • end_managed_volume_snapshot
    • get_sla_objects
    • object_id
    • on_demand_snapshot
    • pause_snapshots
    • resume_snapshots
    • vsphere_instant_recovery
    • vsphere_live_mount
  • Physical Host Functions
    • add_physical_host
    • assign_physical_host_fileset
    • create_nas_fileset
    • create_physical_fileset
    • delete_physical_host
  • SDK Helper Functions
    • log
    • exceptions
  • Internal Functions
    • _api_validation
    • _authorization_header
    • _header
    • _common_api
    • _date_time_conversion
Powered by GitBook
On this page
  1. Internal Functions

_api_validation

Internal method used to validate the API Version and API Endpoint provided by the end user

def _api_validation(api_version, api_endpoint)

Arguments

Name

Type

Description

Choices

api_version

str

The version of the Rubrik CDM API to call.

v1, v2, internal

api_endpoint

str

The endpoint of the Rubrik CDM API to call (ex. /cluster/me).

PreviousexceptionsNext_authorization_header

Last updated 5 years ago