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

Update 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


patch
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

200 OK

OK

Errors

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

Code Samples

cURL Command

curl -X PATCH -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

Vendor Extensions

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


Feedback

Was this page helpful?