NSX-T Data Center REST API
Update an existing Service Deployment. (Deprecated)
This API is deprecated since only property we can change on service deploymentis display name, which is used for the SVM name. Changing the name will
cause the name of the deployment to go out of sync with the deployed VM.
Request:
Method:
PUT
URI Path(s):
/api/v1/serviceinsertion/services/<service-id>/service-deployments/<service-deployment-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ServiceDeployment+
Example Request:
POST https://<nsx-mgr>/api/v1/serviceinsertion/services/65a60890-6f48-418d-a7d5-5aaf65f2344b/service-deployments/01dfa028-bc90-4be4-bda1-a98b4eb65856 { "perimeter": "CLUSTER", "deployment_type": "HOSTLOCAL", "clustered_deployment_count": 1, "deployment_spec_name": "GISpec", "deployment_mode": "STAND_ALONE", "instance_deployment_template": { "name": "GI_GOLD", "attributes": [ { "key": "netmask0", "display_name": "netmask0", "value": "", "attribute_type": "STRING" }, { "key": "vc_password", "display_name": "vc_password", "value": "", "attribute_type": "STRING" } ] }, "service_deployment_config": { "compute_manager_id": "f42c11d3-fe88-46d4-a1e5-b9f73a30c31a", "compute_collection_id": "f42c11d3-fe88-46d4-a1e5-b9f73a30c31a:domain-c7", "storage_id": "datastore-30", "vm_nic_info": { "nic_infos": [ { "nic_metadata": { "interface_label": "eth0", "interface_index": 0, "interface_type": "MANAGEMENT" }, "ip_pool_id": "a3cf1339-9cf7-4834-88ec-d4ad813bd130", "network_id": "network-28" } ] } }, "service_id": "7007c838-d605-458c-9bef-c068364f2efd", "resource_type": "ServiceDeployment", "id": "78e1a4fa-57e0-493c-9325-c8c508b01002", "display_name": "78e1a4fa-57e0-493c-9325-c8c508b01002", "_create_user": "admin", "_create_time": 1543558304751, "_last_modified_user": "admin", "_last_modified_time": 1543558304751, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ServiceDeployment+