[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Update Management VMS

Description

Update the DNS records of management VMs to use public or private IP addresses

Request

Request

URL

URL


put
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/management-vms/{managementVmId}/dns/{ipType}
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


string
sddc Required

Sddc identifier


string
managementVmId Required

the management VM ID


string
ipType Required

the ip type to associate with FQDN in DNS


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns Task of type(s) application/json
This response body class contains all of the following: AbstractEntity, InlineTask1
Errors

Errors

ErrorResponse
400

The sddc is not in a state that’s valid for updates or invalid body


401

Unauthorized


403

Forbidden

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-OrgsOrgSddcsSddcManagementVmsManagementVmIdDnsIpTypePut -Org "MyOrg" -Sddc "MySddc" -ManagementVmId "MyManagementVmId" -IpType "public"

PowerCLI Client SDK Example

Invoke-OrgsOrgSddcsSddcManagementVmsManagementVmIdDnsIpTypePut -Org "MyOrg" -Sddc "MySddc" -ManagementVmId "MyManagementVmId" -IpType "public"

cURL Command

curl -X PUT https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/management-vms/{managementVmId}/dns/{ipType}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: management-vms
x-vmw-vapi-methodname: update


Feedback

Was this page helpful?