Avi ApplicationPersistenceProfile Object API

CLI ``` - configure applicationpersistenceprofile - show applicationpersistenceprofile ```
More information: https://avinetworks.com/contact-us
Contact Info: support@avinetworks.com
Version: 22.1.5
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 /applicationpersistenceprofile
  2. post /applicationpersistenceprofile
  3. delete /applicationpersistenceprofile/{uuid}
  4. get /applicationpersistenceprofile/{uuid}/federated_info/
  5. get /applicationpersistenceprofile/{uuid}
  6. patch /applicationpersistenceprofile/{uuid}
  7. put /applicationpersistenceprofile/{uuid}
Up
get /applicationpersistenceprofile
(applicationpersistenceprofileGet)

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

ApplicationPersistenceProfileApiResponse

Example data

Content-Type: application/json
{
  "next" : "aeiou",
  "count" : 123,
  "results" : [ {
    "ip_persistence_profile" : {
      "ip_mask" : 123,
      "ip_persistent_timeout" : 123
    },
    "description" : "aeiou",
    "persistence_type" : "aeiou",
    "uuid" : "aeiou",
    "url" : "aeiou",
    "_last_modified" : "aeiou",
    "hdr_persistence_profile" : {
      "prst_hdr_name" : "aeiou"
    },
    "http_cookie_persistence_profile" : {
      "is_persistent_cookie" : true,
      "http_only" : true,
      "encryption_key" : "aeiou",
      "always_send_cookie" : true,
      "key" : [ {
        "hmac_key" : "aeiou",
        "aes_key" : "aeiou",
        "name" : "aeiou"
      } ],
      "timeout" : 123,
      "cookie_name" : "aeiou"
    },
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "server_hm_down_recovery" : "aeiou",
    "configpb_attributes" : {
      "version" : 123
    },
    "markers" : [ {
      "values" : [ "aeiou" ],
      "key" : "aeiou"
    } ],
    "app_cookie_persistence_profile" : {
      "prst_hdr_name" : "aeiou",
      "encryption_key" : "aeiou",
      "timeout" : 123
    },
    "is_federated" : true
  } ]
}

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 ApplicationPersistenceProfileApiResponse

401

log in failed

Up
post /applicationpersistenceprofile
(applicationpersistenceprofilePost)

Consumes

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

Request body

body (required)
Body Parameter — ApplicationPersistenceProfile object creation

Return type

ApplicationPersistenceProfile

Example data

Content-Type: application/json
{
  "ip_persistence_profile" : {
    "ip_mask" : 123,
    "ip_persistent_timeout" : 123
  },
  "description" : "aeiou",
  "persistence_type" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "hdr_persistence_profile" : {
    "prst_hdr_name" : "aeiou"
  },
  "http_cookie_persistence_profile" : {
    "is_persistent_cookie" : true,
    "http_only" : true,
    "encryption_key" : "aeiou",
    "always_send_cookie" : true,
    "key" : [ {
      "hmac_key" : "aeiou",
      "aes_key" : "aeiou",
      "name" : "aeiou"
    } ],
    "timeout" : 123,
    "cookie_name" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "server_hm_down_recovery" : "aeiou",
  "configpb_attributes" : {
    "version" : 123
  },
  "markers" : [ {
    "values" : [ "aeiou" ],
    "key" : "aeiou"
  } ],
  "app_cookie_persistence_profile" : {
    "prst_hdr_name" : "aeiou",
    "encryption_key" : "aeiou",
    "timeout" : 123
  },
  "is_federated" : true
}

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 ApplicationPersistenceProfile

401

log in failed

Up
delete /applicationpersistenceprofile/{uuid}
(applicationpersistenceprofileUuidDelete)

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 /applicationpersistenceprofile/{uuid}/federated_info/
(applicationpersistenceprofileUuidFederatedInfoGet)

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:

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

200

OK String

401

log in failed

Up
get /applicationpersistenceprofile/{uuid}
(applicationpersistenceprofileUuidGet)

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

ApplicationPersistenceProfile

Example data

Content-Type: application/json
{
  "ip_persistence_profile" : {
    "ip_mask" : 123,
    "ip_persistent_timeout" : 123
  },
  "description" : "aeiou",
  "persistence_type" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "hdr_persistence_profile" : {
    "prst_hdr_name" : "aeiou"
  },
  "http_cookie_persistence_profile" : {
    "is_persistent_cookie" : true,
    "http_only" : true,
    "encryption_key" : "aeiou",
    "always_send_cookie" : true,
    "key" : [ {
      "hmac_key" : "aeiou",
      "aes_key" : "aeiou",
      "name" : "aeiou"
    } ],
    "timeout" : 123,
    "cookie_name" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "server_hm_down_recovery" : "aeiou",
  "configpb_attributes" : {
    "version" : 123
  },
  "markers" : [ {
    "values" : [ "aeiou" ],
    "key" : "aeiou"
  } ],
  "app_cookie_persistence_profile" : {
    "prst_hdr_name" : "aeiou",
    "encryption_key" : "aeiou",
    "timeout" : 123
  },
  "is_federated" : true
}

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 ApplicationPersistenceProfile

401

log in failed

Up
patch /applicationpersistenceprofile/{uuid}
(applicationpersistenceprofileUuidPatch)

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 — ApplicationPersistenceProfile object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

ApplicationPersistenceProfile

Example data

Content-Type: application/json
{
  "ip_persistence_profile" : {
    "ip_mask" : 123,
    "ip_persistent_timeout" : 123
  },
  "description" : "aeiou",
  "persistence_type" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "hdr_persistence_profile" : {
    "prst_hdr_name" : "aeiou"
  },
  "http_cookie_persistence_profile" : {
    "is_persistent_cookie" : true,
    "http_only" : true,
    "encryption_key" : "aeiou",
    "always_send_cookie" : true,
    "key" : [ {
      "hmac_key" : "aeiou",
      "aes_key" : "aeiou",
      "name" : "aeiou"
    } ],
    "timeout" : 123,
    "cookie_name" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "server_hm_down_recovery" : "aeiou",
  "configpb_attributes" : {
    "version" : 123
  },
  "markers" : [ {
    "values" : [ "aeiou" ],
    "key" : "aeiou"
  } ],
  "app_cookie_persistence_profile" : {
    "prst_hdr_name" : "aeiou",
    "encryption_key" : "aeiou",
    "timeout" : 123
  },
  "is_federated" : true
}

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 ApplicationPersistenceProfile

401

log in failed

Up
put /applicationpersistenceprofile/{uuid}
(applicationpersistenceprofileUuidPut)

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 — ApplicationPersistenceProfile object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

ApplicationPersistenceProfile

Example data

Content-Type: application/json
{
  "ip_persistence_profile" : {
    "ip_mask" : 123,
    "ip_persistent_timeout" : 123
  },
  "description" : "aeiou",
  "persistence_type" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "hdr_persistence_profile" : {
    "prst_hdr_name" : "aeiou"
  },
  "http_cookie_persistence_profile" : {
    "is_persistent_cookie" : true,
    "http_only" : true,
    "encryption_key" : "aeiou",
    "always_send_cookie" : true,
    "key" : [ {
      "hmac_key" : "aeiou",
      "aes_key" : "aeiou",
      "name" : "aeiou"
    } ],
    "timeout" : 123,
    "cookie_name" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "server_hm_down_recovery" : "aeiou",
  "configpb_attributes" : {
    "version" : 123
  },
  "markers" : [ {
    "values" : [ "aeiou" ],
    "key" : "aeiou"
  } ],
  "app_cookie_persistence_profile" : {
    "prst_hdr_name" : "aeiou",
    "encryption_key" : "aeiou",
    "timeout" : 123
  },
  "is_federated" : true
}

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 ApplicationPersistenceProfile

401

log in failed

Up

Models

[ Jump to Methods ]

Table of Contents

  1. AppCookiePersistenceProfile
  2. ApplicationPersistenceProfile
  3. ApplicationPersistenceProfileApiResponse
  4. ConfigPbAttributes
  5. HdrPersistenceProfile
  6. HttpCookiePersistenceKey
  7. HttpCookiePersistenceProfile
  8. IPPersistenceProfile
  9. KeyValue
  10. RoleFilterMatchLabel

AppCookiePersistenceProfile Up

encryption_key (optional)
String Key to use for cookie encryption. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
prst_hdr_name
String Header or cookie name for application cookie persistence. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
timeout (optional)
Integer The length of time after a client's connections have closed before expiring the client's persistence to a server. Allowed values are 1-720. Unit is MIN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32

ApplicationPersistenceProfile Up

_last_modified (optional)
String UNIX time since epoch in microseconds. Units(MICROSECONDS).
app_cookie_persistence_profile (optional)
AppCookiePersistenceProfile Specifies the Application Cookie Persistence profile parameters. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
configpb_attributes (optional)
ConfigPbAttributes Protobuf versioning for config pbs. 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.
description (optional)
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
hdr_persistence_profile (optional)
HdrPersistenceProfile Specifies the custom HTTP Header Persistence profile parameters. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
http_cookie_persistence_profile (optional)
HttpCookiePersistenceProfile Specifies the HTTP Cookie Persistence profile parameters. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ip_persistence_profile (optional)
IPPersistenceProfile Specifies the Client IP Persistence profile parameters. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
is_federated (optional)
Boolean This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster and its associated service-engines. If the field is set to true, then the object is replicated across the federation. . Field introduced in 17.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
markers (optional)
array[RoleFilterMatchLabel] List of labels to be used for granular RBAC. Field introduced in 20.1.5. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.
name
String A user-friendly name for the persistence profile. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
persistence_type
String Method used to persist clients to the same server for a duration of time or a session. Enum options - PERSISTENCE_TYPE_CLIENT_IP_ADDRESS, PERSISTENCE_TYPE_HTTP_COOKIE, PERSISTENCE_TYPE_TLS, PERSISTENCE_TYPE_CLIENT_IPV6_ADDRESS, PERSISTENCE_TYPE_CUSTOM_HTTP_HEADER, PERSISTENCE_TYPE_APP_COOKIE, PERSISTENCE_TYPE_GSLB_SITE. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE), Basic edition(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE), Enterprise with Cloud Services edition.
server_hm_down_recovery (optional)
String Specifies behavior when a persistent server has been marked down by a health monitor. Enum options - HM_DOWN_PICK_NEW_SERVER, HM_DOWN_ABORT_CONNECTION, HM_DOWN_CONTINUE_PERSISTENT_SERVER. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- HM_DOWN_PICK_NEW_SERVER), Basic edition(Allowed values- HM_DOWN_PICK_NEW_SERVER), Enterprise with Cloud Services edition.
tenant_ref (optional)
String It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
url (optional)
String url
uuid (optional)
String UUID of the persistence profile. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

ApplicationPersistenceProfileApiResponse Up

count
Integer format: int32
results
next (optional)

ConfigPbAttributes Up

version (optional)
Integer Protobuf version number. Gets incremented if there is se Diff of federated diff in config pbs.This field will be a monotonically increasing number indicating the number of Config Update operations. 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

HdrPersistenceProfile Up

prst_hdr_name (optional)
String Header name for custom header persistence. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

HttpCookiePersistenceKey Up

aes_key (optional)
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
hmac_key (optional)
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
name (optional)
String name to use for cookie encryption. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

HttpCookiePersistenceProfile Up

always_send_cookie (optional)
Boolean If no persistence cookie was received from the client, always send it. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
cookie_name (optional)
String HTTP cookie name for cookie persistence. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
encryption_key (optional)
String Key name to use for cookie encryption. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
http_only (optional)
Boolean Sets the HttpOnly attribute in the cookie. Setting this helps to prevent the client side scripts from accessing this cookie, if supported by browser. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
is_persistent_cookie (optional)
Boolean When True, the cookie used is a persistent cookie, i.e. the cookie shouldn't be used at the end of the timeout. By default, it is set to false, making the cookie a session cookie, which allows clients to use it even after the timeout, if the session is still open. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
key (optional)
array[HttpCookiePersistenceKey] Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
timeout (optional)
Integer The maximum lifetime of any session cookie. No value or 'zero' indicates no timeout. Allowed values are 1-14400. Special values are 0- No Timeout. Unit is MIN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32

IPPersistenceProfile Up

ip_mask (optional)
Integer Mask to be applied on client IP. This may be used to persist clients from a subnet to the same server. When set to 0, all requests are sent to the same server. Allowed values are 0-128. Field introduced in 18.2.7. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition. format: int32
ip_persistent_timeout (optional)
Integer The length of time after a client's connections have closed before expiring the client's persistence to a server. Allowed values are 1-720. Unit is MIN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32

KeyValue Up

key
String Key. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
value (optional)
String Value. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

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.