Avi PoolGroupInventory Object API

CLI ``` - show poolgroupinventory ```
More information: https://avinetworks.com/contact-us
Contact Info: support@avinetworks.com
Version: 22.1.6
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

  1. HTTP Basic Authentication

Methods

[ Jump to Models ]

Table of Contents

  1. get /poolgroup-inventory
  2. post /poolgroup-inventory
  3. delete /poolgroup-inventory/{uuid}
  4. get /poolgroup-inventory/{uuid}
  5. patch /poolgroup-inventory/{uuid}
  6. put /poolgroup-inventory/{uuid}
Up
get /poolgroup-inventory
(poolgroupInventoryGet)

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
refers_to (optional)
Query Parameter — Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
referred_by (optional)
Query Parameter — Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
skip_default (optional)
Query Parameter — Default values are not set.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

PoolGroupInventoryApiResponse

Example data

Content-Type: application/json
{
  "next" : "aeiou",
  "count" : 123,
  "results" : [ {
    "config" : {
      "deployment_policy_ref" : "aeiou",
      "deactivate_primary_pool_on_down" : true,
      "enable_http2" : true,
      "implicit_priority_labels" : true,
      "uuid" : "aeiou",
      "url" : "aeiou",
      "fail_action" : {
        "redirect" : {
          "path" : "aeiou",
          "protocol" : "aeiou",
          "status_code" : "aeiou",
          "query" : "aeiou",
          "host" : "aeiou"
        },
        "local_rsp" : {
          "file" : {
            "file_content" : "aeiou",
            "content_type" : "aeiou",
            "file_length" : 123
          },
          "status_code" : "aeiou"
        },
        "type" : "aeiou"
      },
      "cloud_ref" : "aeiou",
      "members" : [ {
        "pool_ref" : "aeiou",
        "priority_label" : "aeiou",
        "deployment_state" : "aeiou",
        "ratio" : 123
      } ],
      "tenant_ref" : "aeiou",
      "name" : "aeiou",
      "min_servers" : 123,
      "markers" : [ {
        "values" : [ "aeiou" ],
        "key" : "aeiou"
      } ]
    },
    "uuid" : "aeiou",
    "url" : "aeiou",
    "_last_modified" : "aeiou"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PoolGroupInventoryApiResponse

401

log in failed

Up
post /poolgroup-inventory
(poolgroupInventoryPost)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — PoolGroupInventory object creation

Return type

PoolGroupInventory

Example data

Content-Type: application/json
{
  "config" : {
    "deployment_policy_ref" : "aeiou",
    "deactivate_primary_pool_on_down" : true,
    "enable_http2" : true,
    "implicit_priority_labels" : true,
    "uuid" : "aeiou",
    "url" : "aeiou",
    "fail_action" : {
      "redirect" : {
        "path" : "aeiou",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "query" : "aeiou",
        "host" : "aeiou"
      },
      "local_rsp" : {
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou",
          "file_length" : 123
        },
        "status_code" : "aeiou"
      },
      "type" : "aeiou"
    },
    "cloud_ref" : "aeiou",
    "members" : [ {
      "pool_ref" : "aeiou",
      "priority_label" : "aeiou",
      "deployment_state" : "aeiou",
      "ratio" : 123
    } ],
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "min_servers" : 123,
    "markers" : [ {
      "values" : [ "aeiou" ],
      "key" : "aeiou"
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PoolGroupInventory

401

log in failed

Up
delete /poolgroup-inventory/{uuid}
(poolgroupInventoryUuidDelete)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name

Return type

String

Example data

Content-Type: application/json
"aeiou"

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

object deleted String

404

not found

Up
get /poolgroup-inventory/{uuid}
(poolgroupInventoryUuidGet)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
skip_default (optional)
Query Parameter — Default values are not set.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

PoolGroupInventory

Example data

Content-Type: application/json
{
  "config" : {
    "deployment_policy_ref" : "aeiou",
    "deactivate_primary_pool_on_down" : true,
    "enable_http2" : true,
    "implicit_priority_labels" : true,
    "uuid" : "aeiou",
    "url" : "aeiou",
    "fail_action" : {
      "redirect" : {
        "path" : "aeiou",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "query" : "aeiou",
        "host" : "aeiou"
      },
      "local_rsp" : {
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou",
          "file_length" : 123
        },
        "status_code" : "aeiou"
      },
      "type" : "aeiou"
    },
    "cloud_ref" : "aeiou",
    "members" : [ {
      "pool_ref" : "aeiou",
      "priority_label" : "aeiou",
      "deployment_state" : "aeiou",
      "ratio" : 123
    } ],
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "min_servers" : 123,
    "markers" : [ {
      "values" : [ "aeiou" ],
      "key" : "aeiou"
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PoolGroupInventory

401

log in failed

Up
patch /poolgroup-inventory/{uuid}
(poolgroupInventoryUuidPatch)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — PoolGroupInventory object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

PoolGroupInventory

Example data

Content-Type: application/json
{
  "config" : {
    "deployment_policy_ref" : "aeiou",
    "deactivate_primary_pool_on_down" : true,
    "enable_http2" : true,
    "implicit_priority_labels" : true,
    "uuid" : "aeiou",
    "url" : "aeiou",
    "fail_action" : {
      "redirect" : {
        "path" : "aeiou",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "query" : "aeiou",
        "host" : "aeiou"
      },
      "local_rsp" : {
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou",
          "file_length" : 123
        },
        "status_code" : "aeiou"
      },
      "type" : "aeiou"
    },
    "cloud_ref" : "aeiou",
    "members" : [ {
      "pool_ref" : "aeiou",
      "priority_label" : "aeiou",
      "deployment_state" : "aeiou",
      "ratio" : 123
    } ],
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "min_servers" : 123,
    "markers" : [ {
      "values" : [ "aeiou" ],
      "key" : "aeiou"
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PoolGroupInventory

401

log in failed

Up
put /poolgroup-inventory/{uuid}
(poolgroupInventoryUuidPut)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — PoolGroupInventory object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

PoolGroupInventory

Example data

Content-Type: application/json
{
  "config" : {
    "deployment_policy_ref" : "aeiou",
    "deactivate_primary_pool_on_down" : true,
    "enable_http2" : true,
    "implicit_priority_labels" : true,
    "uuid" : "aeiou",
    "url" : "aeiou",
    "fail_action" : {
      "redirect" : {
        "path" : "aeiou",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "query" : "aeiou",
        "host" : "aeiou"
      },
      "local_rsp" : {
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou",
          "file_length" : 123
        },
        "status_code" : "aeiou"
      },
      "type" : "aeiou"
    },
    "cloud_ref" : "aeiou",
    "members" : [ {
      "pool_ref" : "aeiou",
      "priority_label" : "aeiou",
      "deployment_state" : "aeiou",
      "ratio" : 123
    } ],
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "min_servers" : 123,
    "markers" : [ {
      "values" : [ "aeiou" ],
      "key" : "aeiou"
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PoolGroupInventory

401

log in failed

Up

Models

[ Jump to Methods ]

Table of Contents

  1. FailAction
  2. FailActionBackupPool
  3. FailActionHTTPLocalResponse
  4. FailActionHTTPRedirect
  5. HTTPLocalFile
  6. PoolGroupConfig
  7. PoolGroupConfigApiResponse
  8. PoolGroupInventory
  9. PoolGroupInventoryApiResponse
  10. PoolGroupMember
  11. RoleFilterMatchLabel

FailAction Up

local_rsp (optional)
FailActionHTTPLocalResponse Local response to HTTP requests when pool experiences a failure. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
redirect (optional)
FailActionHTTPRedirect URL to redirect HTTP requests to when pool experiences a failure. Allowed in Enterprise edition with any value, Basic, Enterprise with Cloud Services edition.
type
String Enables a response to client when pool experiences a failure. By default TCP connection is closed. Enum options - FAIL_ACTION_HTTP_REDIRECT, FAIL_ACTION_HTTP_LOCAL_RSP, FAIL_ACTION_CLOSE_CONN, FAIL_ACTION_BACKUP_POOL. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- FAIL_ACTION_CLOSE_CONN), Basic edition(Allowed values- FAIL_ACTION_CLOSE_CONN,FAIL_ACTION_HTTP_REDIRECT), Enterprise with Cloud Services edition.

FailActionBackupPool Up

backup_pool_ref
String Specifies the UUID of the Pool acting as backup pool. It is a reference to an object of type Pool. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

FailActionHTTPLocalResponse Up

file (optional)
HTTPLocalFile Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
status_code (optional)
String Enum options - FAIL_HTTP_STATUS_CODE_200, FAIL_HTTP_STATUS_CODE_503. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

FailActionHTTPRedirect Up

host
String The host to which the redirect request is sent. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
path (optional)
String Path configuration for the redirect request. If not set the path from the original request's URI is preserved in the redirect on pool failure. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
protocol (optional)
String Enum options - HTTP, HTTPS. Allowed in Enterprise edition with any value, Basic edition(Allowed values- HTTP), Essentials, Enterprise with Cloud Services edition. Special default for Basic edition is HTTP, Enterprise is HTTPS.
query (optional)
String Query configuration for the redirect request URI. If not set, the query from the original request's URI is preserved in the redirect on pool failure. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
status_code (optional)
String Enum options - HTTP_REDIRECT_STATUS_CODE_301, HTTP_REDIRECT_STATUS_CODE_302, HTTP_REDIRECT_STATUS_CODE_307. Allowed in Enterprise edition with any value, Basic edition(Allowed values- HTTP_REDIRECT_STATUS_CODE_302), Essentials, Enterprise with Cloud Services edition.

HTTPLocalFile Up

content_type
String Mime-type of the content in the file. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
file_content
String File content to used in the local HTTP response body. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
file_length (optional)
Integer File content length. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition. format: int32

PoolGroupConfig Up

cloud_ref (optional)
String It is a reference to an object of type Cloud. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
deactivate_primary_pool_on_down (optional)
Boolean Deactivate primary pool for selection when down until it is activated by user via clear poolgroup command. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
deployment_policy_ref (optional)
String When setup autoscale manager will automatically promote new pools into production when deployment goals are met. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
enable_http2 (optional)
Boolean Enable HTTP/2 for traffic from VirtualService to all the backend servers in all the pools configured under this PoolGroup. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
fail_action (optional)
FailAction Enable an action - Close Connection, HTTP Redirect, or Local HTTP Response - when a pool group failure happens. By default, a connection will be closed, in case the pool group experiences a failure. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
implicit_priority_labels (optional)
Boolean Whether an implicit set of priority labels is generated. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
markers (optional)
array[RoleFilterMatchLabel] List of labels to be used for granular RBAC. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
members (optional)
array[PoolGroupMember] List of pool group members object of type PoolGroupMember. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
min_servers (optional)
Integer The minimum number of servers to distribute traffic to. Allowed values are 1-65535. Special values are 0 - Disable. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition. format: int32
name
String The name of the pool group. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
tenant_ref (optional)
String It is a reference to an object of type Tenant. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
url (optional)
String URL of the pool grop. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
uuid (optional)
String UUID of the pool group. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

PoolGroupConfigApiResponse Up

count
Integer format: int32
results
next (optional)

PoolGroupInventory Up

_last_modified (optional)
String UNIX time since epoch in microseconds. Units(MICROSECONDS).
config (optional)
PoolGroupConfig Configuration summary of the pool group. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
url (optional)
String url
uuid (optional)
String UUID of the pool group. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

PoolGroupInventoryApiResponse Up

count
Integer format: int32
results
next (optional)

PoolGroupMember Up

deployment_state (optional)
String Pool deployment state used with the PG deployment policy. Enum options - EVALUATION_IN_PROGRESS, IN_SERVICE, OUT_OF_SERVICE, EVALUATION_FAILED. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
pool_ref
String UUID of the pool. It is a reference to an object of type Pool. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
priority_label (optional)
String All pools with same priority are treated similarly in a pool group. The higher the number, the higher the priority.A pool with a higher priority is selected, as long as the pool is eligible or an explicit policy chooses a different pool. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ratio (optional)
Integer Ratio of selecting eligible pools in the pool group. . Allowed values are 1-1000. Special values are 0 - Do not select this pool for new connections. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- 1), Basic edition(Allowed values- 1), Enterprise with Cloud Services edition. format: int32

RoleFilterMatchLabel Up

key
String Key for filter match. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
values (optional)
array[String] Values for filter match. Multiple values will be evaluated as OR. Example key = value1 OR key = value2. Behavior for match is key = * if this field is empty. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.