Skip to main content

PUT /osdeployment/globalSettings

Use this method to modify the current global settings for operating-system deployment.

Authentication

Authentication with username and password is required.

Request URL

PUT https://{management_server_IP}/osdeployment/globalSettings

Query parameters

None

Request body

ParametersRequired / OptionalTypeDescription
activeDirectoryRequiredObjectInformation about Active Directory
 allDomainsRequiredArray of objectsInformation about all Active Directory domains
  domainNameRequiredStringName of the Active Directory domain
  idRequiredStringID of the Active Directory domain
  OURequiredStringOrganizational unit of the Active Directory domain
 defaultDomainRequiredStringName of the default domain. This is one of the Active Directory domains in the AllDomains list).
credentialsRequiredArray of objectsInformation about user credentials
 passwordRequiredStringPassword of the operating system to be deployed

For Windows 2012, this is the password for the Administrator user. For Linux and ESXi, this is the password for the root user.

 passwordChangedRequiredBooleanIndicates whether to modify the password. This can be one of the following values.
  • true
  • false
 typeRequiredStringOperating system type. This can be one of the following values.
  • ESXi
  • LINUX
  • WINDOWS
deploySettingsOptionalObjectInformation about deployment settings
 ipDuplicationCheckEnabledOptionalBooleanIndicates whether the duplicate-IP check runs at the beginning of an OS deployment. This can be one of the following values.
  • true. Duplicate-IP check runs

  • false. Duplicate-IP check does not run

 stateTransitionTimeoutOptionalIntegerAmount of time, in seconds, to wait between status updates before failing the OS deployment
ipAssignmentRequiredStringHost network setting option for operating system deployment. This can be one of the following values.
  • dhcpv4
  • staticv4
  • staticv6
​isVLANModeRequiredStringIndicates whether VLAN mode is used. This can be one of the following values.
  • true. VLAN mode is used.
  • false. VLAN mode is not used.
licenseKeysRequiredObjectInformation about volume-license keys
 win11RequiredObjectInformation about volume-license keys for Microsoft Windows 11
  enterpriseLicenseKeyRequiredStringVolume-license key that is used to deploy the enterprise version of Microsoft Windows 11
  workstationLicenseKeyRequiredStringVolume-license key that is used to deploy the workstation version of Microsoft Windows 11
 win10RequiredObjectInformation about volume-license keys for Microsoft Windows 10
  enterpriseLicenseKeyRequiredStringVolume-license key that is used to deploy the enterprise version of Microsoft Windows 10
  workstationLicenseKeyRequiredStringVolume-license key that is used to deploy the workstation version of Microsoft Windows 10
 win2022r1RequiredObjectInformation about volume-license keys for Microsoft Windows 2022 R1
  dataCenterLicenseKeyRequiredStringVolume-license key that is used to deploy the data center version of Microsoft Windows 2022 R1
  standardLicenseKeyRequiredStringVolume-license key that is used to deploy the standard version of Microsoft Windows 2022 R1
 win2019r1RequiredObjectInformation about volume-license keys for Microsoft Windows 2019 R1
  dataCenterLicenseKeyRequiredStringVolume-license key that is used to deploy the data center version of Microsoft Windows 2019 R1
  standardLicenseKeyRequiredStringVolume-license key that is used to deploy the standard version of Microsoft Windows 2019 R1
 win2016r1RequiredObjectInformation about volume-license keys for Microsoft Windows 2016 R1
  dataCenterLicenseKeyRequiredStringVolume-license key that is used to deploy the data center version of Microsoft Windows 2016 R1
  standardLicenseKeyRequiredStringVolume-license key that is used to deploy the standard version of Microsoft Windows 2016 R1
The following example modifies the global OS-deployment settings.
{
"activeDirectory": {
"allDomains": [{
"domainName": "domain1",
"id": 0,
"OU": "domain1-unit1"
},
{
"domainName": "domain2",
"id": 1,
"OU": "domain2-unit"
}],
"defaultDomain": "domain2/domain2-unit"
},
"credentials": [{
"passwordChanged": false,
"password": null,
"type": "ESXi"
},
{
"passwordChanged": false,
"password": null,
"type": "LINUX"
},
{
"passwordChanged": false,
"password": null,
"type": "RHEL/ESXi"
},
{
"password": "U2FsdGVkX1/fiTzKhVZaIG4JcGBuCkoqucvGBmrjtK5/ejaLy8TFkFgb9AeDoZtt",
"passwordChanged": false,
"type": "WINDOWS"
}],
"deploySettings": {
"ipDuplicationCheckEnabled": false,
"stateTransitionTimeout": 120
},
"ipAssignment": "dhcpv4",
"isVLANMode": false,
"licenseKeys": {
"win10": {
"enterpriseLicenseKey": "AAAA4-BBBBB-CCCCC-DDDDD-EEEEE",
"workstationLicenseKey": "AAAA3-BBBBB-CCCCC-DDDDD-EEEEE"
},
"win11": {
"enterpriseLicenseKey": "AAAA4-BBBBB-CCCCC-DDDDD-EEEEE",
"workstationLicenseKey": "AAAA3-BBBBB-CCCCC-DDDDD-EEEEE"
},
"win2022r1": {
"dataCenterLicenseKey": "AAAA4-BBBBB-CCCCC-DDDDD-EEEEE",
"standardLicenseKey": "AAAA3-BBBBB-CCCCC-DDDDD-EEEEE"
},
"win2019r1": {
"dataCenterLicenseKey": "AAAA4-BBBBB-CCCCC-DDDDD-EEEEE",
"standardLicenseKey": "AAAA3-BBBBB-CCCCC-DDDDD-EEEEE"
},
"win2016r1": {
"dataCenterLicenseKey": "AAAA4-BBBBB-CCCCC-DDDDD-EEEEE",
"standardLicenseKey": "AAAA3-BBBBB-CCCCC-DDDDD-EEEEE"
}
}
}

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.

For XClarity Administrator advanced functions, ensure that you have active licenses for each managed server that supports the advanced functions.

500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
resultStringResults of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failed. The request failed. A descriptive error message was returned.
  • warning. The request completed with a warning. A descriptive error message was returned.
messagesArray of objectsInformation about one or more messages
 idStringMessage identifier of a returned message
 textStringMessage text associated with the message identifier
 explanationStringAdditional information to clarify the reason for the message
 recoveryArray of objectsRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available

The following example is returned when the request is successful.

{
"result": "success",
"messages": [ ]
}