Show flavor access type

Method URI Description
GET /v2/{tenant_id}/flavors/{flavor_id} Gets the flavor access type, which is public or private.

Normal response codes: 200

Request

This table shows the URI parameters for the show flavor access type request:

Name Type Description
{tenant_id} String Project ID
{flavor_id} UUID The ID of the flavor of interest to you.

This operation does not require a request body.

Response

Example. Show flavor access type: JSON response


{
	"flavor": {
		"disk": 1,
		"id": "1",
		"links": [
			{
				"href": "http://openstack.example.com/v2/openstack/flavors/1",
				"rel": "self"
			},
			{
				"href": "http://openstack.example.com/openstack/flavors/1",
				"rel": "bookmark"
			}
		],
		"name": "m1.tiny",
		"os-flavor-access:is_public": true,
		"ram": 512,
		"vcpus": 1
	}
}