Set-AuvikBaseURI
SYNOPSIS
Sets the base URI for the Auvik API connection.
SYNTAX
DESCRIPTION
The Add-AuvikBaseURI cmdlet sets the base URI which is later used to construct the full URI for all API calls.
EXAMPLES
EXAMPLE 1
Add-AuvikBaseURI
The base URI will use https://auvikapi.us1.my.auvik.com/v1 which is Auvik’s default URI.
EXAMPLE 2
Add-AuvikBaseURI -data_center US
The base URI will use https://auvikapi.us1.my.auvik.com/v1 which is Auvik’s US URI.
EXAMPLE 3
Add-AuvikBaseURI -base_uri http://myapi.gateway.example.com
A custom API gateway of http://myapi.gateway.example.com will be used for all API calls to Auvik’s API.
PARAMETERS
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
N\A
RELATED LINKS
https://celerium.github.io/Auvik-PowerShellWrapper/site/Internal/Add-AuvikBaseURI.html