Skip to content

Commit 3cbd246

Browse files
chore(api): update composite API spec
1 parent 8ddfb0a commit 3cbd246

File tree

118 files changed

+10078
-4430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+10078
-4430
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1809
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-77d61495fecd0d26b9adff1af0ab3510b06a3cc2c6781b9a40aabcad2f10588a.yml
3-
openapi_spec_hash: 95dee3be411dda77306a41dc7d49eb35
1+
configured_endpoints: 1802
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-56da74b4ad875807aa6c4b3ef1fdf57ec7d2a527715770a08dd76afcc5d1ad33.yml
3+
openapi_spec_hash: c6f5be1be7d0433742907540dcc485d8
44
config_hash: ac04197a992afb1d8c3b416fc46e8c8e

addressing/prefix.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,19 @@ type Prefix struct {
152152
AccountID string `json:"account_id"`
153153
// Prefix advertisement status to the Internet. This field is only not 'null' if on
154154
// demand is enabled.
155+
//
156+
// Deprecated: Prefer the
157+
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
158+
// instead, which allows for advertising multiple BGP routes within a single IP
159+
// Prefix.
155160
Advertised bool `json:"advertised,nullable"`
156161
// Last time the advertisement status was changed. This field is only not 'null' if
157162
// on demand is enabled.
163+
//
164+
// Deprecated: Prefer the
165+
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
166+
// instead, which allows for advertising multiple BGP routes within a single IP
167+
// Prefix.
158168
AdvertisedModifiedAt time.Time `json:"advertised_modified_at,nullable" format:"date-time"`
159169
// Approval state of the prefix (P = pending, V = active).
160170
Approved string `json:"approved"`
@@ -170,9 +180,19 @@ type Prefix struct {
170180
ModifiedAt time.Time `json:"modified_at" format:"date-time"`
171181
// Whether advertisement of the prefix to the Internet may be dynamically enabled
172182
// or disabled.
183+
//
184+
// Deprecated: Prefer the
185+
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
186+
// instead, which allows for advertising multiple BGP routes within a single IP
187+
// Prefix.
173188
OnDemandEnabled bool `json:"on_demand_enabled"`
174189
// Whether advertisement status of the prefix is locked, meaning it cannot be
175190
// changed.
191+
//
192+
// Deprecated: Prefer the
193+
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
194+
// instead, which allows for advertising multiple BGP routes within a single IP
195+
// Prefix.
176196
OnDemandLocked bool `json:"on_demand_locked"`
177197
JSON prefixJSON `json:"-"`
178198
}

0 commit comments

Comments
 (0)