View New-Pfa2VvolDatastore.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding()] | |
Param( | |
[Parameter(Position=0,mandatory=$true,ValueFromPipeline=$True)] | |
[VMware.VimAutomation.ViCore.Types.V1.Inventory.Cluster]$Cluster, | |
[Parameter(Position=1,mandatory=$true)] | |
[string]$FlashArray, | |
[Parameter(Position=2,ValueFromPipeline=$True,mandatory=$true)] | |
[System.Management.Automation.PSCredential]$Credentials, |
View pure1_token_factory.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Copyright Pure Storage, Inc. 2020. All Rights Reserved | |
usage: pure1_api_client.py [-h] [-p PASSWORD] [-o OUTPUT] | |
id private_key_file | |
Retrieves an Access Token for Pure1 Public API |