You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="The origin of the content that should be made available through the CDN. Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed. So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234` ",
39
39
alias="originUrl",
40
40
)
41
-
type: StrictStr
41
+
type: StrictStr=Field(
42
+
description="Defines the type of content origin. For this schema, it must be set to `http`."
@@ -40,9 +40,18 @@ class HttpBackendCreate(BaseModel):
40
40
description="The origin of the content that should be made available through the CDN. Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed. So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234` ",
41
41
alias="originUrl",
42
42
)
43
-
type: StrictStr
43
+
type: StrictStr=Field(
44
+
description="Defines the type of content origin. For this schema, it must be set to `http`."
@@ -36,10 +36,23 @@ class HttpBackendPatch(BaseModel):
36
36
description="Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. ",
type: StrictStr=Field(description="This property is required to determine the used backend type.")
39
+
origin_url: Optional[StrictStr] =Field(
40
+
default=None,
41
+
description="The origin of the content that should be made available through the CDN. Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed. So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234` ",
42
+
alias="originUrl",
43
+
)
44
+
type: StrictStr=Field(
45
+
description="Defines the type of content origin. For this schema, it must be set to `http`."
description="The fully qualified URL where the CDN should push logs to your Loki instance (for example, `https://loki.example.com/loki/api/v1/push`).",
32
+
alias="pushUrl",
33
+
)
34
+
type: StrictStr=Field(description="Defines the type of the log sink.")
@@ -30,10 +30,22 @@ class LokiLogSinkCreate(BaseModel):
30
30
"""# noqa: E501
31
31
32
32
credentials: LokiLogSinkCredentials
33
-
push_url: StrictStr=Field(alias="pushUrl")
34
-
type: StrictStr
33
+
push_url: StrictStr=Field(
34
+
description="The fully qualified URL where the CDN should push logs to your Loki instance (for example, `https://loki.example.com/loki/api/v1/push`).",
35
+
alias="pushUrl",
36
+
)
37
+
type: StrictStr=Field(
38
+
description="Defines the type of the log sink. For Grafana Loki, this must be set to `loki`."
0 commit comments