@@ -598,7 +598,7 @@ type LoadBalancer struct {
598
598
Status string `json:"status"`
599
599
ExternalAddresses []string `json:"external_addresses"`
600
600
LocationID int64 `json:"location_id"`
601
- ClusterID string `json:"cluster_id"`
601
+ ClusterID * string `json:"cluster_id"`
602
602
Created time.Time `json:"created_at"`
603
603
Updated time.Time `json:"updated_at"`
604
604
}
@@ -612,7 +612,7 @@ type L4LoadBalancer struct {
612
612
ExternalAddresses []string `json:"external_addresses"`
613
613
LocationID int64 `json:"location_id"`
614
614
StoreLogs bool `json:"store_logs"`
615
- ClusterID string `json:"cluster_id"`
615
+ ClusterID * string `json:"cluster_id"`
616
616
Created time.Time `json:"created_at"`
617
617
Updated time.Time `json:"updated_at"`
618
618
}
@@ -648,7 +648,8 @@ type L4UpstreamZoneInput struct {
648
648
type L4LoadBalancerUpdateInput struct {
649
649
Name * string `json:"name,omitempty"`
650
650
StoreLogs * bool `json:"store_logs,omitempty"`
651
- ClusterID string `json:"cluster_id,omitempty"`
651
+ ClusterID * string `json:"cluster_id,omitempty"`
652
+ SharedCluster * bool `json:"shared_cluster,omitempty"`
652
653
VHostZones []L4VHostZoneInput `json:"vhost_zones,omitempty"`
653
654
UpstreamZones []L4UpstreamZoneInput `json:"upstream_zones,omitempty"`
654
655
}
@@ -658,7 +659,7 @@ type L4LoadBalancerCreateInput struct {
658
659
Name string `json:"name"`
659
660
LocationID int64 `json:"location_id"`
660
661
StoreLogs * bool `json:"store_logs,omitempty"`
661
- ClusterID string `json:"cluster_id,omitempty"`
662
+ ClusterID * string `json:"cluster_id,omitempty"`
662
663
VHostZones []L4VHostZoneInput `json:"vhost_zones"`
663
664
UpstreamZones []L4UpstreamZoneInput `json:"upstream_zones"`
664
665
}
@@ -675,7 +676,7 @@ type L7LoadBalancer struct {
675
676
Geoip bool `json:"geoip"`
676
677
StoreLogs bool `json:"store_logs"`
677
678
StoreLogsRegionID int64 `json:"store_logs_region_id"`
678
- ClusterID string `json:"cluster_id"`
679
+ ClusterID * string `json:"cluster_id"`
679
680
Created time.Time `json:"created_at"`
680
681
Updated time.Time `json:"updated_at"`
681
682
}
@@ -740,7 +741,8 @@ type L7LoadBalancerUpdateInput struct {
740
741
Geoip * bool `json:"geoip,omitempty"`
741
742
NewExternalIpsCount * int `json:"new_external_ips_count,omitempty"`
742
743
DeleteExternalIps []string `json:"delete_external_ips,omitempty"`
743
- ClusterID string `json:"cluster_id,omitempty"`
744
+ ClusterID * string `json:"cluster_id,omitempty"`
745
+ SharedCluster * bool `json:"shared_cluster,omitempty"`
744
746
VHostZones []L7VHostZoneInput `json:"vhost_zones,omitempty"`
745
747
UpstreamZones []L7UpstreamZoneInput `json:"upstream_zones,omitempty"`
746
748
}
@@ -752,7 +754,7 @@ type L7LoadBalancerCreateInput struct {
752
754
StoreLogs * bool `json:"store_logs,omitempty"`
753
755
StoreLogsRegionID * int `json:"store_logs_region_id,,omitempty"`
754
756
Geoip * bool `json:"geoip,omitempty"`
755
- ClusterID string `json:"cluster_id,omitempty"`
757
+ ClusterID * string `json:"cluster_id,omitempty"`
756
758
VHostZones []L7VHostZoneInput `json:"vhost_zones"`
757
759
UpstreamZones []L7UpstreamZoneInput `json:"upstream_zones"`
758
760
}
0 commit comments