Customization Spec Manager Xml To Customization Spec Item
Converts an XML string to a specification item
Required privileges: System.View
Request
URI
POST
https://{api_host}/sdk/vim25/{release}/CustomizationSpecManager/{moId}/XmlToCustomizationSpecItem
COPY
Path Parameters
string
moId
Required
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case CustomizationSpecManager/{moId}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
Request Body
XmlToCustomizationSpecItemRequestType
of type(s)
application/json
Required
"XmlToCustomizationSpecItemRequestType Object"
string
specItemXml
Required
specItemXml
Responses
200
OK
Returns
CustomizationSpecItem
of type(s)
application/json
"CustomizationSpecItem Object"
info
Required
Information about the specification - name, description, and so on.
spec
Required
The customization specification.
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/CustomizationSpecManager/{moId}/XmlToCustomizationSpecItem
On This Page
Virtual Infrastructure Operations
POST
Customization Spec Manager Check Customization Resources
Deprecated
POST
Customization Spec Manager Create Customization Spec
POST
Customization Spec Manager Delete Customization Spec
POST
Customization Spec Manager Duplicate Customization Spec
POST
Customization Spec Manager Does Customization Spec Exist
POST
Customization Spec Manager Get Customization Spec
POST
Customization Spec Manager Is Guest Os Customizable
POST
Customization Spec Manager Overwrite Customization Spec
POST
Customization Spec Manager Rename Customization Spec
POST
Customization Spec Manager Customization Spec Item To Xml
POST
Customization Spec Manager Xml To Customization Spec Item
GET
Customization Spec Manager Get Encryption Key
GET
Customization Spec Manager Get Info