[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Create Service Instance
DescriptionCreate 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
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
PolicyServiceInstance
of type(s) application/json
This response body class contains all of the following:
BasePolicyServiceInstance, InlinePolicyServiceInstance1
Errors
ApiError
400
Bad Request
ApiError
403
Forbidden
ApiError
404
Not Found
ApiError
412
Precondition Failed
ApiError
500
Internal Server Error
ApiError
503
Service Unavailable
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"_create_time":0,"_create_user":"string","_last_modified_time":0,"_last_modified_user":"string","_links":[{"action":"string","href":"string","rel":"string"}],"_protection":"string","_revision":0,"_schema":"string","_self":{"action":"string","href":"string","rel":"string"},"_system_owned":false,"attributes":[{"attribute_type":"IP_ADDRESS","display_name":"string","key":"string","read_only":false,"value":"string"}],"children":[{"_create_time":0,"_create_user":"string","_last_modified_time":0,"_last_modified_user":"string","_links":[{"action":"string","href":"string","rel":"string"}],"_protection":"string","_revision":0,"_schema":"string","_self":{"action":"string","href":"string","rel":"string"},"_system_owned":false,"description":"string","display_name":"string","id":"string","marked_for_delete":false,"resource_type":"string","tags":[{"scope":"string","tag":"string"}]}],"compute_id":"string","context_id":"string","deployment_mode":"STAND_ALONE","deployment_spec_name":"string","deployment_template_name":"string","description":"string","display_name":"string","failure_policy":"ALLOW","id":"string","marked_for_delete":false,"parent_path":"string","partner_service_name":"string","path":"string","primary_gateway_address":"string","primary_interface_mgmt_ip":"string","primary_interface_network":"string","primary_portgroup_id":"string","primary_subnet_mask":"string","relative_path":"string","resource_type":"string","secondary_gateway_address":"string","secondary_interface_mgmt_ip":"string","secondary_interface_network":"string","secondary_portgroup_id":"string","secondary_subnet_mask":"string","storage_id":"string","tags":[{"scope":"string","tag":"string"}],"transport_type":"L2_BRIDGE"}' 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
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: create-service-instance
x-vmw-nsx-module: PolicyServiceInsertion
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Tier 1s Operations
put
delete
delete
delete
get
patch
patch
patch