Skip to content

Commit

Permalink
Add User to Grafana Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mdenomy committed Oct 31, 2024
1 parent 6523c4b commit 40c4c77
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fastly/logging_grafanacloudlogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type CreateGrafanaCloudLogsInput struct {
Index *string `url:"index,omitempty"`
// Token is the API key from your GrafanaCloudLogs account.
Token *string `url:"token,omitempty"`
// Index
// Grafana User ID
User *string `url:"user,omitempty"`
// URL is the URL to stream logs to. Must use HTTPS.
URL *string `url:"url,omitempty"`
Expand Down Expand Up @@ -157,16 +157,18 @@ type UpdateGrafanaCloudLogsInput struct {
MessageType *string `url:"message_type,omitempty"`
// Placement is where in the generated VCL the logging call should be placed.
Placement *string `url:"placement,omitempty"`
// URL is the URL to stream logs to. Must use HTTPS.
URL *string `url:"url,omitempty"`
// ResponseCondition is the name of an existing condition in the configured endpoint, or leave blank to always execute.
ResponseCondition *string `url:"response_condition,omitempty"`
// ServiceID is the ID of the service (required).
ServiceID string `url:"-"`
// ServiceVersion is the specific configuration version (required).
ServiceVersion int `url:"-"`
// Grafana User ID
User *string `url:"user,omitempty"`
// Token is the API key from your GrafanaCloudLogs account.
Token *string `url:"token,omitempty"`
// URL is the URL to stream logs to. Must use HTTPS.
URL *string `url:"url,omitempty"`
// Index is the stream identifier
Index *string `url:"index,omitempty"`
}
Expand Down

0 comments on commit 40c4c77

Please sign in to comment.