Code Monkey home page Code Monkey logo

avi-rest-powershell's Introduction

Welcome to the AVI ALB REST API script module of over 800 cmdlets!

Installation

  1. Ensure you have PowerShell v7.3+ installed

  2. Install options

    Install from PowerShell Gallery

    Install-Module AVIREST

    Install from this repo

    Copy the contents of this folder to a unique module directory

    Eg. %userprofile%Documents\PowerShell\Modules\AviRest

Usage

  1. Review the Examples Readme

  2. Import the module Import-Module AviRest

  3. Connect to an ALB

    Eg. Connect-AVIRest -Server $albFQDN -Credential $credential

    Eg. Connect-AVIRest -Server $albFQDN -Username $username -Password $password

  4. Review available cmdlets Get-Command -Module AviRest

Why use this module?

This module is targetted at traditional PowerShell users. If you are comfortable referencing the API guide for each command, the AviPowerShellSDK is available.

Benefits of this module

  • This module provides a cmdlet for each API method and endpoint offering easy discovery using Get-Command -Module AviRest or TAB completion
  • Support for Get-Help demonstrating available parameter snippets
  • Support for dynamically building API JSON body without referencing the API guide and crafting a 100 property object using New-AviRest*Object where * is any endpoint. Use Get-Command -Module AviRest -Name 'New-AVIRest*Object' to find all cmdlets
  • Pipeline support with type enforcement. Aka New-AviRestvsvip | Remove-AviRestvsvip will work but New-AviRestvsvip | Remove-AviRestvsGS will not.
  • API Revision cmdlet enforcement based on connected ALB. Unsupported cmdlets will throw and error based on API revision.
  • HTTP query support on Get-AviRest* cmdlets including -Name,-First,-Fields,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.