[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Create Service Instance

Description

Create Tier1 service instance. Please note that, only display_name, description and deployment_spec_name are allowed to be modified in an exisiting entity. If the deployment spec name is changed, it will trigger the upgrade operation for the SVMs.

Request

Request

URL

URL


put
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}
Copy

Path Parameters

Path Parameters

string
tier-1-id Required

Tier-1 id


string
locale-service-id Required

Locale service id


string
service-instance-id Required

Tier1 Service instance id


Request Body

Request Body

PolicyServiceInstance of type(s) application/json Required
This request body class requires all of the following: BasePolicyServiceInstance, InlinePolicyServiceInstance1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PolicyServiceInstance of type(s) application/json
This response body class contains all of the following: BasePolicyServiceInstance, InlinePolicyServiceInstance1
Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: create-service-instance
x-vmw-nsx-module: PolicyServiceInsertion


Feedback

Was this page helpful?