NSX-T Data Center REST API

Deploys a the Malware Prevention Service on the specified compute-collection

This will deploy the Malware Prevention Service on a given cluster.
Internally OVF will be deployed on each host that is part of the cluster.
If there are no issues in the parameters, the call returns immediately,
and the service VMs will be deployed asynchronously.
To get the overall status of the deployment or to get the status of individual service vm, please use the
MPS deployment status APIs.

Request:

Method:
POST
URI Path(s):
/api/v1/malware-prevention/compute-collection/{compute-collection-id}/svm-deployment
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MpsSvmDeploymentSpec+

Example Request:

{ "deployment_spec_name": "MPS-SVM-4.2.0", "cluster_svm_property": { "storage_id": "datastore-30", "vm_nic_info": { "network_id": "network-28", "ip_allocation_type": "DHCP" } } "svm_config": { "ssh_key" : "ssh-rsa AAAAB3N....Bl3uQ== [email protected]", } }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
MpsSvmDeploymentSpec+

Example Response:

{ "deployment_spec_name": "MPS-SVM-4.2.0", "clustered_deployment_count": 1, "ssh_key" : "ssh-rsa AAAAB3N....Bl3uQ== [email protected]", "cluster_svm_property": { "storage_id": "datastore-30", "vm_nic_info": { "network_id": "network-28", "ip_allocation_type": "DHCP" } }, "svm_config": { "ssh_key" : "ssh-rsa AAAAB3N....Bl3uQ== [email protected]", } "resource_type": "MpsSvmDeploymentSpec", "id": "e6c2693f-2335-43de-8885-95db0b7c7478", "display_name": "e6c2693f-2335-43de-8885-95db0b7c7478", "_create_user": "admin", "_create_time": 1543950168765, "_last_modified_user": "admin", "_last_modified_time": 1543950168765, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

intrusion_services

Additional Errors: