Avi ApplicationPersistenceProfile Object API
CLI ``` - configure applicationpersistenceprofile - show applicationpersistenceprofile ```
Contact Info: support@avinetworks.com
Version: 20.1.9
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
- HTTP Basic Authentication
[ Jump to Models ]
Table of Contents
get /applicationpersistenceprofile
post /applicationpersistenceprofile
delete /applicationpersistenceprofile/{uuid}
get /applicationpersistenceprofile/{uuid}/federated_info/
get /applicationpersistenceprofile/{uuid}
patch /applicationpersistenceprofile/{uuid}
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
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",
"labels" : [ {
"value" : "aeiou",
"key" : "aeiou"
} ],
"hdr_persistence_profile" : {
"prst_hdr_name" : "aeiou"
},
"http_cookie_persistence_profile" : {
"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",
"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 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
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",
"labels" : [ {
"value" : "aeiou",
"key" : "aeiou"
} ],
"hdr_persistence_profile" : {
"prst_hdr_name" : "aeiou"
},
"http_cookie_persistence_profile" : {
"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",
"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 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 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 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
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",
"labels" : [ {
"value" : "aeiou",
"key" : "aeiou"
} ],
"hdr_persistence_profile" : {
"prst_hdr_name" : "aeiou"
},
"http_cookie_persistence_profile" : {
"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",
"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 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
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",
"labels" : [ {
"value" : "aeiou",
"key" : "aeiou"
} ],
"hdr_persistence_profile" : {
"prst_hdr_name" : "aeiou"
},
"http_cookie_persistence_profile" : {
"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",
"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 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
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",
"labels" : [ {
"value" : "aeiou",
"key" : "aeiou"
} ],
"hdr_persistence_profile" : {
"prst_hdr_name" : "aeiou"
},
"http_cookie_persistence_profile" : {
"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",
"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 request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
ApplicationPersistenceProfile
401
log in failed
[ Jump to Methods ]
Table of Contents
AppCookiePersistenceProfile
ApplicationPersistenceProfile
ApplicationPersistenceProfileApiResponse
HdrPersistenceProfile
HttpCookiePersistenceKey
HttpCookiePersistenceProfile
IPPersistenceProfile
KeyValue
RoleFilterMatchLabel
encryption_key (optional)
String Key to use for cookie encryption.
prst_hdr_name
String Header or cookie name for application cookie persistence.
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. format: int32
_last_modified (optional)
String UNIX time since epoch in microseconds. Units(MICROSECONDS).
app_cookie_persistence_profile (optional)
description (optional)
String User defined description for the object.
hdr_persistence_profile (optional)
http_cookie_persistence_profile (optional)
ip_persistence_profile (optional)
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.
labels (optional)
array[KeyValue] Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field deprecated in 20.1.5. Field introduced in 20.1.2. Maximum of 4 items allowed.
markers (optional)
array[RoleFilterMatchLabel] List of labels to be used for granular RBAC. Field introduced in 20.1.5. Allowed in Basic edition, Essentials edition, Enterprise edition.
name
String A user-friendly name for the persistence profile.
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 Basic(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE) edition, Essentials(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE) edition, Enterprise 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 Basic(Allowed values- HM_DOWN_PICK_NEW_SERVER) edition, Essentials(Allowed values- HM_DOWN_PICK_NEW_SERVER) edition, Enterprise edition.
tenant_ref (optional)
String It is a reference to an object of type Tenant.
url (optional)
uuid (optional)
String UUID of the persistence profile.
count
results
next (optional)
prst_hdr_name (optional)
String Header name for custom header persistence.
aes_key (optional)
String aes_key of HttpCookiePersistenceKey.
hmac_key (optional)
String hmac_key of HttpCookiePersistenceKey.
name (optional)
String name to use for cookie encryption.
always_send_cookie (optional)
Boolean If no persistence cookie was received from the client, always send it.
cookie_name (optional)
String HTTP cookie name for cookie persistence.
encryption_key (optional)
String Key name to use for cookie encryption.
key (optional)
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. format: int32
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 Basic edition, Essentials edition, Enterprise 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. format: int32
key
String Key for filter match. Field introduced in 20.1.3.
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.