fix: do not require remoteOrgID for remote connection creation (#451)

This commit is contained in:
Dane Strandboge
2022-10-28 11:16:53 -05:00
committed by GitHub
parent 121864a550
commit 3285a03e9e
52 changed files with 2942 additions and 587 deletions

View File

@ -27,7 +27,7 @@ type Bucket struct {
SchemaType *SchemaType `json:"schemaType,omitempty" yaml:"schemaType,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty" yaml:"createdAt,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty" yaml:"updatedAt,omitempty"`
// Rules to expire or retain data. No rules means data never expires.
// Retention rules to expire or retain data. The InfluxDB `/api/v2` API uses `RetentionRules` to configure the [retention period]({{% INFLUXDB_DOCS_URL %}}/reference/glossary/#retention-period). #### InfluxDB Cloud - `retentionRules` is required. #### InfluxDB OSS - `retentionRules` isn't required.
RetentionRules []RetentionRule `json:"retentionRules" yaml:"retentionRules"`
Labels *[]Label `json:"labels,omitempty" yaml:"labels,omitempty"`
}