feat: Add new replication field to better show queue sync progress (#480)

* chore: update openapi

* feat: update replication field names to match influx changes

* feat: add new field to show replication queue sync progress

* chore: update to master openapi
This commit is contained in:
Jeffrey Smith II
2023-03-10 09:13:35 -05:00
committed by GitHub
parent 1164ca57ff
commit 625273adf9
30 changed files with 796 additions and 526 deletions

View File

@ -16,17 +16,17 @@ import (
// DBRP struct for DBRP
type DBRP struct {
// The ID of the DBRP mapping.
// The resource ID that InfluxDB uses to uniquely identify the database retention policy (DBRP) mapping.
Id string `json:"id" yaml:"id"`
// The ID of the organization.
// An organization ID. Identifies the [organization]({{% INFLUXDB_DOCS_URL %}}/reference/glossary/#organization) that owns the mapping.
OrgID string `json:"orgID" yaml:"orgID"`
// The ID of the bucket used as the target for the translation.
// A bucket ID. Identifies the bucket used as the target for the translation.
BucketID string `json:"bucketID" yaml:"bucketID"`
// InfluxDB v1 database
// A database name. Identifies the InfluxDB v1 database.
Database string `json:"database" yaml:"database"`
// InfluxDB v1 retention policy
// A [retention policy](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#retention-policy-rp) name. Identifies the InfluxDB v1 retention policy mapping.
RetentionPolicy string `json:"retention_policy" yaml:"retention_policy"`
// Mapping represents the default retention policy for the database specified.
// If set to `true`, this DBRP mapping is the default retention policy for the database (specified by the `database` property's value).
Default bool `json:"default" yaml:"default"`
// Indicates an autogenerated, virtual mapping based on the bucket name. Currently only available in OSS.
Virtual *bool `json:"virtual,omitempty" yaml:"virtual,omitempty"`