|
[String] $APIVersion = "31.0" |
|
[String] $AuthorizationHeader = "x-vcloud-authorization" |
|
[String] $AuthorizationHeader = "x-vcloud-authorization" |
Query /api/versions to get the latest API versions. Use the new Bearer token X-VMWARE-VCLOUD-ACCESS-TOKEN when API version >= 35 (vCloud Director 10.2), else use x-vcloud-authorization.
PowerShellStuff/VMware/VCloudClient/Connect-VCloud.ps1
Line 57 in 7c6b4ed
PowerShellStuff/VMware/VCloudClient/Connect-VCloud.ps1
Line 61 in 7c6b4ed
PowerShellStuff/VMware/VCloudClient/Invoke-VCloudRequest.ps1
Line 61 in 7c6b4ed
Query
/api/versionsto get the latest API versions. Use the new Bearer tokenX-VMWARE-VCLOUD-ACCESS-TOKENwhen API version >= 35 (vCloud Director 10.2), else usex-vcloud-authorization.