Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nutanix-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nutanix-api

Library for interact with v3 Nutanix API

  • 0.0.20
  • PyPI
  • Socket score

Maintainers
1

Nutanix API

  • Work in progress

Easily interact with Nutanix API v3

Installation

pip install nutanix-api

Usage

from nutanix_api import NutanixApiClient, NutanixVM, NutanixCluster

client = NutanixApiClient("username", "password", 9440, "https://path/to/endpoint")

# Virtual Machine
vm = NutanixVM.get(client, "61b13e12-1494-11ed-861d-0242ac120002")
vm.turn_off()  # Turn VM off 
vm.turn_on()  # Turn VM on

# Cluster
cluster = NutanixCluster.get(client, "81b13e12-1494-11ed-861d-0242ac120003")
print(cluster.name)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc