Nutanix.dev
API Reference
Blog
Labs
Code Samples
Grouped by Language
Single Page (All Code Samples)
NutanixDev on GitHub
Nutanix on GitHub
Automation
Nutanix Calm DSL
Playbooks Library
Media & Video
Videos
NutanixDevLIVE on Twitch
NutanixDEVLive Stream Schedule
The Nutanix Bible
Menu
API Reference
Blog
Labs
Code Samples
Grouped by Language
Single Page (All Code Samples)
NutanixDev on GitHub
Nutanix on GitHub
Automation
Nutanix Calm DSL
Playbooks Library
Media & Video
Videos
NutanixDevLIVE on Twitch
NutanixDEVLive Stream Schedule
The Nutanix Bible
Search
Upload File to Nutanix Objects Bucket
May 31, 2021
by Chris Rasmussen
Intended Audience Level: Intermediate
Code Sample Type: Complete Script
Nutanix Technologies: Objects
Minimum Product Version: N/A
Script/Code Language: Python
REST API Sample? No
REST API Version: N/A
Basic code sample to connect to Nutanix Objects using the boto3 module, check for bucket existence, create the bucket and then upload a file.
Code Sample Details
Note this section may be empty, if additional code sample details are not available.
Go To Code Sample