< Back
Invoke-VaoApiCall
Post
NAME Invoke-VaoApiCall
SYNOPSIS
SYNTAX
Invoke-VaoApiCall [[-Server] <String>] [[-Token] <String>] [-Uri] <String> [[-Accept] <String>] [-Method] <String>
[[-Body] <Object>] [<CommonParameters>]
DESCRIPTION
Helper function to call the Veeam Availability Orchestrator API.
PARAMETERS
-Server <String>
FQDN of the Veeam Availability Orchestrator Instance
Required? false
Position? 1
Default value $Global:VaoApiConnection.Server
Accept pipeline input? false
Accept wildcard characters? false
-Token <String>
Bearer Token for the Veeam Availability Orchestrator Instance
Required? false
Position? 2
Default value $Global:VaoApiConnection.access_token
Accept pipeline input? false
Accept wildcard characters? false
-Uri <String>
API Uri for the Call
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Accept <String>
Accept Header for the API Call
Required? false
Position? 4
Default value application/json, text/json, text/html, application/xml, text/xml
Accept pipeline input? false
Accept wildcard characters? false
-Method <String>
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Body <Object>
Body of the API Call
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
File Name : Invoke-VaoApiCall.psm1
Author : Markus Kraus
Version : 1.0
State : Ready
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Invoke-VaoApiCall -Uri "/v1/About" -Method Get
RELATED LINKS
https://mycloudrevolution.com/
https://helpcenter.veeam.com/docs/vao/r ... tml?ver=10
SYNOPSIS
SYNTAX
Invoke-VaoApiCall [[-Server] <String>] [[-Token] <String>] [-Uri] <String> [[-Accept] <String>] [-Method] <String>
[[-Body] <Object>] [<CommonParameters>]
DESCRIPTION
Helper function to call the Veeam Availability Orchestrator API.
PARAMETERS
-Server <String>
FQDN of the Veeam Availability Orchestrator Instance
Required? false
Position? 1
Default value $Global:VaoApiConnection.Server
Accept pipeline input? false
Accept wildcard characters? false
-Token <String>
Bearer Token for the Veeam Availability Orchestrator Instance
Required? false
Position? 2
Default value $Global:VaoApiConnection.access_token
Accept pipeline input? false
Accept wildcard characters? false
-Uri <String>
API Uri for the Call
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Accept <String>
Accept Header for the API Call
Required? false
Position? 4
Default value application/json, text/json, text/html, application/xml, text/xml
Accept pipeline input? false
Accept wildcard characters? false
-Method <String>
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Body <Object>
Body of the API Call
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
File Name : Invoke-VaoApiCall.psm1
Author : Markus Kraus
Version : 1.0
State : Ready
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Invoke-VaoApiCall -Uri "/v1/About" -Method Get
RELATED LINKS
https://mycloudrevolution.com/
https://helpcenter.veeam.com/docs/vao/r ... tml?ver=10