All Posts

I am using VCloud API version 37.1, and I'm trying to send a query to the sessions endpoint in Postman: POST https://my.vcloud.com/cloudapi/1.0.0/sessions/provider In the Header, I have Authorizati... See more...
I am using VCloud API version 37.1, and I'm trying to send a query to the sessions endpoint in Postman: POST https://my.vcloud.com/cloudapi/1.0.0/sessions/provider In the Header, I have Authorization="Bearer <token>" But the POST fails with the following: {     "minorErrorCode": "VCD_50086",     "message": "Invalid authorization header",     "stackTrace": null }   Not sure what I'm doing wrong. Any help is appreciated.
have you found a solution?
Hi all I deploy the VMware Cloud Director 10.4 in my environment. And try to call vCloud API v37.2 by using Postman. Currently, I can only access the Organization and Vdc list information by the... See more...
Hi all I deploy the VMware Cloud Director 10.4 in my environment. And try to call vCloud API v37.2 by using Postman. Currently, I can only access the Organization and Vdc list information by the link below. https://<host>/cloudapi/1.0.0/orgs/ https://<host>/cloudapi/1.0.0/vdcs/ But the related documents don't provide the API method to get all the vApps information. (https://developer.vmware.com/apis/vmware-cloud-director/latest/) Is there any other way to access the vApps information using API v37.2? Including vApp's urn, id, and VM information. Thank you! Best Regards, Chen
I'm writing a code to use REST, where can I get all GUIDv4 parameters?
  • I'
I'm looking for a list of inbound IPs from cloud.vmware.com? I need to allow 443 for VMware Aria Operations (SaaS) Cloud Proxy in AWS Security Group. Thanks.
Hi there I'm importing a vAPP into vCD 10.3 using the OVFtool and the task gets stuck at 24%. It is now impossible to cancel the task (its been running 36hours) - I click on cancel but nothing happ... See more...
Hi there I'm importing a vAPP into vCD 10.3 using the OVFtool and the task gets stuck at 24%. It is now impossible to cancel the task (its been running 36hours) - I click on cancel but nothing happens. Any idea how I can cancel the task without having to reboot vCD?   thanks
Hello,   Do we have a API documentation/link for the vCloud Director where JSON examples are listed instead of the XML ones?   Regards, Shukran
Hello, At the moment we are using a SSO User with Administrator SSO permissions for the following APIs. POST /rest/com/vmware/cis/session GET rest/appliance/networking/interfaces GET /rest/vcente... See more...
Hello, At the moment we are using a SSO User with Administrator SSO permissions for the following APIs. POST /rest/com/vmware/cis/session GET rest/appliance/networking/interfaces GET /rest/vcenter/datacenter GET  /rest/vcenter/host GET /rest/vcenter/vm GET /rest/vcenter/vm/ID/tools Is there a setting with less rights/appropriate rights to query the above APIs?  Thank you in advance
We have at least 20 virtual machines in use in our virtual platform. At least 5 always restart automatically without any reason apparently... when we access to the virtual machines affected, a messag... See more...
We have at least 20 virtual machines in use in our virtual platform. At least 5 always restart automatically without any reason apparently... when we access to the virtual machines affected, a message like this appear "Windows has recovered from unexpected error"... Is there any option to maintain these virtual machines always ON? or to unable the automatic restarting?
Hello guys It Looks VMware HTML Consule SDK supports VM audio, but at this point, I have not been able to make it works. Should be VM audio using web MKS works by default? Or Should the "On audio"... See more...
Hello guys It Looks VMware HTML Consule SDK supports VM audio, but at this point, I have not been able to make it works. Should be VM audio using web MKS works by default? Or Should the "On audio" event handler be register to process server audio? If the last is the case were can I find an example about reproduces audio comming from esxi server? Thank for your feedback
When I call "/api/admin/org/{id}/vdcsparams", it responds to the exception message that cannot be parsed correctly, saying that there is an XML parsing error in the request body, and the relevant inf... See more...
When I call "/api/admin/org/{id}/vdcsparams", it responds to the exception message that cannot be parsed correctly, saying that there is an XML parsing error in the request body, and the relevant information is "The reference https://ip/api/query?type=providerVdc&amp ; page=1& amp;pageSize=25&amp; format=references&amp; filter=name==name cannot be parsed correctly&#10". I've escaped special symbols,But there is still a response parsing error.  
I found an excellent post from William Lam in order to list timeouts and how to change then. https://williamlam.com/2022/10/vsphere-session-timeout-overview.html In my case the in /etc*/vmware-vpx/... See more...
I found an excellent post from William Lam in order to list timeouts and how to change then. https://williamlam.com/2022/10/vsphere-session-timeout-overview.html In my case the in /etc*/vmware-vpx/vpxd.cfg <soap> <sessionTimeout>30</sessionTimeout> <maxSessionCount>1000</maxSessionCount> </soap> Regards,
Hello, A python script (from a PC) open a connection with vcenter (SmartConnectNoSSL), task have different duration but I discover and I am able to reproduce the next script like  loop x=15, x=x+10... See more...
Hello, A python script (from a PC) open a connection with vcenter (SmartConnectNoSSL), task have different duration but I discover and I am able to reproduce the next script like  loop x=15, x=x+10, x<240 : connect / wait for x minutes /get info / disconnect Works well if x stay below than 30 minutes I try to manage different timeout in /etc/vmware-vpx/vpx.cfg or in gui of the vcenter without any success. Could you help me to solve this problem. Best regards, Olivier
Java sample to extend VM hard-disk using VI Java API (SOAP Based) - Extend VM Hard Disk 
Hi community,                         is there any way to purchase licence for tanzu edition licence on monthly basis
Sorry NOT possible using REST API => use SOAP API Reply from VMware Support on increasing vDisk size using REST API (dated September 2022) : I  have looked through the documentation and discuss... See more...
Sorry NOT possible using REST API => use SOAP API Reply from VMware Support on increasing vDisk size using REST API (dated September 2022) : I  have looked through the documentation and discussed with the engineering team regarding the 3 use cases specified: Increase size of a VMs vDisk Connect a VMs NIC to a dvSwitch PortGroup List and Change properties of a PortGroup After checking extensively, I understand that we do not have REST API options for these operations. As per my discussion with the engineering team, if the API is not listed here (Link), there is no REST API option and SOAP API would have to be used.  LINK = https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/vm/ 
/iaas/api/fabric-computes -- This API is not getting results for few of the AWS Regions and has failed our entire Production workflow on account creation. We also see that the vRA discovery process t... See more...
/iaas/api/fabric-computes -- This API is not getting results for few of the AWS Regions and has failed our entire Production workflow on account creation. We also see that the vRA discovery process that fetch the compute resources is not discovering for few AWS Regions . For instance its not fetching compute resources for one of the us-west-2c region  for an account. However,  if I go check in the UI --> Compute section , we see the computes fetched and shown correctly. We need the support at the earliest Please note, we only create CDK managed networks subnets on the VPC for a, b, c Please note , we do not use default VPC and default AWS provided network which use private ip spaces Could you please rectify the API to support all the AWS Regions
Although I've read the official documentation for vCenter API but I find it a little bit complex to understand,  I'm trying to call the vCenter API using below steps: first I send a GET request t... See more...
Although I've read the official documentation for vCenter API but I find it a little bit complex to understand,  I'm trying to call the vCenter API using below steps: first I send a GET request to https://{api_host}/api/vapi/metadata/metamodel/service in order to get a list of all the valid service object names in my environment, in my case I added:   "com.vmware.vcenter.VM"   So the body of my request looks like this:       { "filter_spec": { "services": [ "com.vmware.vcenter.VM" ] } }       But for the above request I get the below response:       { "error_type": "INVALID_ARGUMENT", "messages": [ { "args": [], "default_message": "The arguments supplied lack TaskIds.", "id": "com.vmware.cis.tasksSvc.invalid.taskIds" } ] }       But when I set tasks in my body of request as empty like below:       { "filter_spec": { "tasks": [], "services": [ "com.vmware.vcenter.VM" ] } }       The response is:   {} I can't find what I'm doing wrong here, wonder how to retrieve list of snapshots or power tasks. Am I missing something, Appreciate any help.  
I'm trying to use the REST API to increase a VM's disk capacity and I tried this REST API but keep getting 400 Bad Request.  I tried with VM powered on or off but still getting 400. Does it not allow... See more...
I'm trying to use the REST API to increase a VM's disk capacity and I tried this REST API but keep getting 400 Bad Request.  I tried with VM powered on or off but still getting 400. Does it not allow 'capacity' update? I followed this REST API:  https://developer.vmware.com/apis/vsphere-automation/v7.0U1/vcenter/rest/vcenter/vm/vm/hardware/disk/disk/patch/   curl -kv --location --request PATCH 'https://{vcenterurl}/rest/vcenter/vm/vm-22/hardware/disk/4000' \ --header 'vmware-api-session-id: 826f459a3ec1a8cd8b8fc3797a6818fe' \ --header 'mimetype: application/json' \ --header 'Content-Type: application/json' \ --header 'Cookie: vmware-api-session-id=826f459a3ec1a8cd8b8fc3797a6818fe' \ --data-raw '{ "spec": { "backing": { "vmdk_file": "[DS10] myVM.vmdk", "type": "VMDK_FILE", }, "capacity": 64424509440, } } '
We are using vmware.vcloud.suite  libraries for getting the SSO connections and accessing content library and inside the library only we are getting the exception.   at com.vmware.sso.client.sample... See more...
We are using vmware.vcloud.suite  libraries for getting the SSO connections and accessing content library and inside the library only we are getting the exception.   at com.vmware.sso.client.samples.AcquireBearerTokenByUserCredentialSample.getToken(AcquireBearerTokenByUserCredentialSample.java:178) ~[ssosamples.jar:?] at com.vmware.vcloud.suite.samples.common.SSOConnection.login(SSOConnection.java:74) ~[vcloudsuite-client-samples-6.0.0.jar:?]