vcenter cluster modules: create
Creates a new module in a vCenter cluster. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
POST https://{server}/rest/vcenter/cluster/modules
Request Body Structure:
{
"spec" : {
"cluster" : "obj-103"
}
}
"spec" : {
"cluster" : "obj-103"
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
spec | create_spec | Specification for the new module to be created. |
spec.cluster | string | The identifier of the cluster in which this module is created. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource . When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource . |
Response:
HTTP Status Code: 200
Representation:
{
"value" : "obj-103"
}
"value" : "obj-103"
}
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | string | The identifier of the newly created module. Use this identifier to get or destroy the module. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
400 | invalid_argument | if a parameter passed in the spec is invalid. |