- Home
- API Enriched
- Marketplace
- config
- GET Internal object for view.
GET Internal object for view.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/config/namespaces/example/view_internal/example/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/config/namespaces/example/view_internal/example/example \ --header 'Authorization: <Authorization>'Returned internal object for a given view.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace Namespace for the object to be retrieved.
Kind of View Kind of view of which internal objec is requested e.g. Aws_vpc_site, azure_vnet_site.
Name of view Name of the view for which internal object is requested.
Responses
Section titled “Responses”A successful response.
Response for GET API.
object
object
Allocation Map keeps track of all allocations for this view. The key is the allocator name.
object
Reference to child objects.
ViewRefType represents a reference to a view.
object
Kind of the view object.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace.
UID of the view object.
object
Kind of the view object.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace.
UID of the view object.
Examplegenerated
{ "view_internal": { "allocationMap": {}, "child_objects": [ { "kind": "example", "name": "example", "namespace": "example", "uid": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ], "view": { "kind": "example", "name": "example", "namespace": "example", "uid": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } }}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example