[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api

Edit Application Tier

Description

Edit a tier of an application with specified membership criteria or members list. The membership criteria is defined in terms of virtual machines or IP addresses/subnet. Please refer to API Guide on how to construct membership criteria.

Request

Request

URL

URL


put
https://vrni.example.com/api/ni/groups/applications/{id}/tiers/{tier-id}
Copy

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


string
tier-id Required

Request Body

Request Body

TierRequest of type(s) application/json Required
{
	"group_membership_criteria": [
		{
			"ip_address_membership_criteria": {
				"ip_addresses": [
					"string"
				]
			},
			"membership_type": "SearchMembershipCriteria",
			"search_membership_criteria": {
				"entity_type": "Group",
				"filter": "string"
			}
		}
	],
	"member_list": {
		"kubernetes_services": [
			[
				{
					"key": {
						"entity_id": "18230:1504:263252172",
						"entity_type": "KUBERNETESSERVICE"
					},
					"name": "KS"
				}
			]
		],
		"physical_ips": [
			[
				{
					"key": {
						"entity_id": "18230:541:365252372",
						"entity_type": "IPENDPOINT"
					},
					"name": "52.35.41.245"
				}
			]
		],
		"vms": [
			[
				{
					"key": {
						"entity_id": "18230:1:1158969162",
						"entity_type": "VIRTUALMACHINE"
					},
					"name": "VM1"
				},
				{
					"key": {
						"entity_id": "18230:601:863301375",
						"entity_type": "EC2INSTANCE"
					},
					"name": "EC2-VM1"
				},
				{
					"key": {
						"entity_id": "18230:1702:264351372",
						"entity_type": "AZUREVM"
					},
					"name": "Azure-VM1"
				}
			]
		]
	},
	"name": "string"
}
group_membership_criteria Optional

EntityType currently restricted to VirtualMachine


member_list Optional

Member list


string
name Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created returns Tier of type(s) application/json
This response body class contains all of the following: BaseEntity, InlineTier1
Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"group_membership_criteria":[{"ip_address_membership_criteria":{"ip_addresses":["string"]},"membership_type":"SearchMembershipCriteria","search_membership_criteria":{"entity_type":"Group","filter":"string"}}],"member_list":{"kubernetes_services":[[{"key":{"entity_id":"18230:1504:263252172","entity_type":"KUBERNETESSERVICE"},"name":"KS"}]],"physical_ips":[[{"key":{"entity_id":"18230:541:365252372","entity_type":"IPENDPOINT"},"name":"52.35.41.245"}]],"vms":[[{"key":{"entity_id":"18230:1:1158969162","entity_type":"VIRTUALMACHINE"},"name":"VM1"},{"key":{"entity_id":"18230:601:863301375","entity_type":"EC2INSTANCE"},"name":"EC2-VM1"},{"key":{"entity_id":"18230:1702:264351372","entity_type":"AZUREVM"},"name":"Azure-VM1"}]]},"name":"string"}' https://vrni.example.com/api/ni/groups/applications/{id}/tiers/{tier-id}


Feedback

Was this page helpful?