PUT Domains({id})/Validate
Validate the update for a domain. See Validation.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | ID of the domain to validate the update for. |
Type: String |
Request body type
Request body formats
application/json, text/json
Sample:
{ "Type": "Both", "OrchestrationServiceUserName": "DOMAIN\\orch", "OrchestrationServicePasswordBase64": "cGFzc3dvcmQ=", "IsPasswordProtected": true, "DomainPasswordBase64": "cGFzc3dvcmQ=", "ProductInstallAdministratorUserName": "DOMAIN\\install", "ProductInstallAdministratorPasswordBase64": "cGFzc3dvcmQ=", "Tags": [ "tag" ], "CustomProperties": [ { "Name": "myProperty", "Value": "myValue" } ] }
Response Information
See Validation.
Response type
ValidationResultModel<UpdateDomainModel>
Response body formats
application/json, text/json
Sample:
{ "Input": { "Type": "Both", "OrchestrationServiceUserName": "DOMAIN\\orch", "OrchestrationServicePasswordBase64": "cGFzc3dvcmQ=", "IsPasswordProtected": true, "DomainPasswordBase64": "cGFzc3dvcmQ=", "ProductInstallAdministratorUserName": "DOMAIN\\install", "ProductInstallAdministratorPasswordBase64": "cGFzc3dvcmQ=", "Tags": [ "tag" ], "CustomProperties": [ { "Name": "myProperty", "Value": "myValue" } ] }, "Errors": [ { "MemberNames": [ "OrchestrationServiceUserName", "OrchestrationServicePasswordBase64" ], "ErrorMessage": "Invalid credential", "ErrorCode": "InvalidCredential" } ] }