/
pool_group_deployment_policy.go
54 lines (38 loc) · 2.3 KB
/
pool_group_deployment_policy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package models
// This file is auto-generated.
// Please contact avi-sdk@avinetworks.com for any change requests.
// PoolGroupDeploymentPolicy pool group deployment policy
// swagger:model PoolGroupDeploymentPolicy
type PoolGroupDeploymentPolicy struct {
// UNIX time since epoch in microseconds. Units(MICROSECONDS).
// Read Only: true
LastModified *string `json:"_last_modified,omitempty"`
// It will automatically disable old production pools once there is a new production candidate.
AutoDisableOldProdPools *bool `json:"auto_disable_old_prod_pools,omitempty"`
// User defined description for the object.
Description *string `json:"description,omitempty"`
// Duration of evaluation period for automatic deployment. Allowed values are 60-86400. Unit is SEC.
EvaluationDuration *int32 `json:"evaluation_duration,omitempty"`
// Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed.
Labels []*KeyValue `json:"labels,omitempty"`
// The name of the pool group deployment policy.
// Required: true
Name *string `json:"name"`
// Placeholder for description of property rules of obj type PoolGroupDeploymentPolicy field type str type object
Rules []*PGDeploymentRule `json:"rules,omitempty"`
// deployment scheme. Enum options - BLUE_GREEN, CANARY.
Scheme *string `json:"scheme,omitempty"`
// Target traffic ratio before pool is made production. Allowed values are 1-100. Unit is RATIO.
TargetTestTrafficRatio *int32 `json:"target_test_traffic_ratio,omitempty"`
// It is a reference to an object of type Tenant.
TenantRef *string `json:"tenant_ref,omitempty"`
// Ratio of the traffic that is sent to the pool under test. test ratio of 100 means blue green. Allowed values are 1-100.
TestTrafficRatioRampup *int32 `json:"test_traffic_ratio_rampup,omitempty"`
// url
// Read Only: true
URL *string `json:"url,omitempty"`
// UUID of the pool group deployment policy.
UUID *string `json:"uuid,omitempty"`
// Webhook configured with URL that Avi controller will pass back information about pool group, old and new pool information and current deployment rule results. It is a reference to an object of type Webhook. Field introduced in 17.1.1.
WebhookRef *string `json:"webhook_ref,omitempty"`
}