This repository contains a PowerShell Module for interacting with the F5 Distributed Cloud REST API. It is currently in early development phase where initial functions are being developed.
All functions will be prefixed with "XC" after the relevant (standard) PowerShell verb. i.e.
Get-XCNamespaces
New-XCDNSZone
Remove-XCDNSZone
-
Import the module
Import-module pwshF5DistributedCloud
-
Generate API Key in Distributed Cloud console by following the below steps:
a. Select your account icon on the top right of the Distributed Cloud console
b. SelectAccount Settings
c. SelectCredentials
d. SelectAdd Credential
e. As this module currently only support API Token authentication, selectAPI Token
from theCredential type
dropdown
f. Setexpiry date
g. SelectGenerate
-
Take note of your account tenancy (first section of your URL)
-
Set the connection details by executing the
Set-XCConnectionDetails
function, i.e.Set-XCConnectionDetails -apiToken $api_token -tenant $tenant
Get-XCDNSZones
Get-XCDNSDomains
- Add help messages and example usage to functions
- Add the other 1,000 API commands!