Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 177 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12928,6 +12928,8 @@ components:
type: string
buffer:
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
compression:
$ref: "#/components/schemas/ObservabilityPipelineAzureStorageDestinationCompression"
connection_string_key:
description: Name of the environment variable or secret that holds the Azure Storage connection string.
example: AZURE_STORAGE_CONNECTION_STRING
Expand Down Expand Up @@ -70980,6 +70982,8 @@ components:
type: string
buffer:
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
compression:
$ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationCompression"
id:
description: Unique identifier for the destination component.
example: amazon-s3-destination
Expand Down Expand Up @@ -71021,6 +71025,63 @@ components:
- storage_class
type: object
x-pipeline-types: [logs]
ObservabilityPipelineAmazonS3DestinationCompression:
description: |-
Compression configuration for archived logs. When omitted, logs are compressed with gzip
for backward compatibility.
oneOf:
- $ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationCompressionZstd"
- $ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationCompressionGzip"
ObservabilityPipelineAmazonS3DestinationCompressionGzip:
description: Gzip compression.
properties:
algorithm:
$ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationCompressionGzipType"
level:
description: Gzip compression level. Valid values range from 1 to 9.
example: 6
format: int64
maximum: 9
minimum: 1
type: integer
required:
- algorithm
- level
type: object
ObservabilityPipelineAmazonS3DestinationCompressionGzipType:
default: gzip
description: The compression type. Always `gzip`.
enum:
- gzip
example: gzip
type: string
x-enum-varnames:
- GZIP
ObservabilityPipelineAmazonS3DestinationCompressionZstd:
description: Zstd compression.
properties:
algorithm:
$ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationCompressionZstdType"
level:
description: Zstd compression level. Valid values range from 1 to 21.
example: 3
format: int64
maximum: 21
minimum: 1
type: integer
required:
- algorithm
- level
type: object
ObservabilityPipelineAmazonS3DestinationCompressionZstdType:
default: zstd
description: The compression type. Always `zstd`.
enum:
- zstd
example: zstd
type: string
x-enum-varnames:
- ZSTD
ObservabilityPipelineAmazonS3DestinationServerSideEncryption:
description: Server-side encryption type for Amazon S3.
enum:
Expand Down Expand Up @@ -71382,6 +71443,63 @@ components:
description: A session identifier used for logging and tracing the assumed role session.
type: string
type: object
ObservabilityPipelineAzureStorageDestinationCompression:
description: |-
Compression configuration for archived logs. When omitted, logs are compressed with gzip
for backward compatibility.
oneOf:
- $ref: "#/components/schemas/ObservabilityPipelineAzureStorageDestinationCompressionZstd"
- $ref: "#/components/schemas/ObservabilityPipelineAzureStorageDestinationCompressionGzip"
ObservabilityPipelineAzureStorageDestinationCompressionGzip:
description: Gzip compression.
properties:
algorithm:
$ref: "#/components/schemas/ObservabilityPipelineAzureStorageDestinationCompressionGzipType"
level:
description: Gzip compression level. Valid values range from 1 to 9.
example: 6
format: int64
maximum: 9
minimum: 1
type: integer
required:
- algorithm
- level
type: object
ObservabilityPipelineAzureStorageDestinationCompressionGzipType:
default: gzip
description: The compression type. Always `gzip`.
enum:
- gzip
example: gzip
type: string
x-enum-varnames:
- GZIP
ObservabilityPipelineAzureStorageDestinationCompressionZstd:
description: Zstd compression.
properties:
algorithm:
$ref: "#/components/schemas/ObservabilityPipelineAzureStorageDestinationCompressionZstdType"
level:
description: Zstd compression level. Valid values range from 1 to 21.
example: 3
format: int64
maximum: 21
minimum: 1
type: integer
required:
- algorithm
- level
type: object
ObservabilityPipelineAzureStorageDestinationCompressionZstdType:
default: zstd
description: The compression type. Always `zstd`.
enum:
- zstd
example: zstd
type: string
x-enum-varnames:
- ZSTD
ObservabilityPipelineBufferOptions:
description: Configuration for buffer settings on destination components.
oneOf:
Expand Down Expand Up @@ -73160,6 +73278,8 @@ components:
type: string
buffer:
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
compression:
$ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestinationCompression"
id:
description: Unique identifier for the destination component.
example: gcs-destination
Expand Down Expand Up @@ -73209,6 +73329,63 @@ components:
- AUTHENTICATEDNOT_READ
- BUCKETNOT_OWNERNOT_READ
- BUCKETNOT_OWNERNOT_FULLNOT_CONTROL
ObservabilityPipelineGoogleCloudStorageDestinationCompression:
description: |-
Compression configuration for archived logs. When omitted, logs are compressed with gzip
for backward compatibility.
oneOf:
- $ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestinationCompressionZstd"
- $ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestinationCompressionGzip"
ObservabilityPipelineGoogleCloudStorageDestinationCompressionGzip:
description: Gzip compression.
properties:
algorithm:
$ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestinationCompressionGzipType"
level:
description: Gzip compression level. Valid values range from 1 to 9.
example: 6
format: int64
maximum: 9
minimum: 1
type: integer
required:
- algorithm
- level
type: object
ObservabilityPipelineGoogleCloudStorageDestinationCompressionGzipType:
default: gzip
description: The compression type. Always `gzip`.
enum:
- gzip
example: gzip
type: string
x-enum-varnames:
- GZIP
ObservabilityPipelineGoogleCloudStorageDestinationCompressionZstd:
description: Zstd compression.
properties:
algorithm:
$ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestinationCompressionZstdType"
level:
description: Zstd compression level. Valid values range from 1 to 21.
example: 3
format: int64
maximum: 21
minimum: 1
type: integer
required:
- algorithm
- level
type: object
ObservabilityPipelineGoogleCloudStorageDestinationCompressionZstdType:
default: zstd
description: The compression type. Always `zstd`.
enum:
- zstd
example: zstd
type: string
x-enum-varnames:
- ZSTD
ObservabilityPipelineGoogleCloudStorageDestinationStorageClass:
description: Storage class used for objects stored in GCS.
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
@JsonPropertyOrder({
AzureStorageDestination.JSON_PROPERTY_BLOB_PREFIX,
AzureStorageDestination.JSON_PROPERTY_BUFFER,
AzureStorageDestination.JSON_PROPERTY_COMPRESSION,
AzureStorageDestination.JSON_PROPERTY_CONNECTION_STRING_KEY,
AzureStorageDestination.JSON_PROPERTY_CONTAINER_NAME,
AzureStorageDestination.JSON_PROPERTY_ID,
Expand All @@ -43,6 +44,9 @@ public class AzureStorageDestination {
public static final String JSON_PROPERTY_BUFFER = "buffer";
private ObservabilityPipelineBufferOptions buffer;

public static final String JSON_PROPERTY_COMPRESSION = "compression";
private ObservabilityPipelineAzureStorageDestinationCompression compression;

public static final String JSON_PROPERTY_CONNECTION_STRING_KEY = "connection_string_key";
private String connectionStringKey;

Expand Down Expand Up @@ -119,6 +123,33 @@ public void setBuffer(ObservabilityPipelineBufferOptions buffer) {
}
}

public AzureStorageDestination compression(
ObservabilityPipelineAzureStorageDestinationCompression compression) {
this.compression = compression;
this.unparsed |= compression.unparsed;
return this;
}

/**
* Compression configuration for archived logs. When omitted, logs are compressed with gzip for
* backward compatibility.
*
* @return compression
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COMPRESSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineAzureStorageDestinationCompression getCompression() {
return compression;
}

public void setCompression(ObservabilityPipelineAzureStorageDestinationCompression compression) {
this.compression = compression;
if (compression != null) {
this.unparsed |= compression.unparsed;
}
}

public AzureStorageDestination connectionStringKey(String connectionStringKey) {
this.connectionStringKey = connectionStringKey;
return this;
Expand Down Expand Up @@ -287,6 +318,7 @@ public boolean equals(Object o) {
AzureStorageDestination azureStorageDestination = (AzureStorageDestination) o;
return Objects.equals(this.blobPrefix, azureStorageDestination.blobPrefix)
&& Objects.equals(this.buffer, azureStorageDestination.buffer)
&& Objects.equals(this.compression, azureStorageDestination.compression)
&& Objects.equals(this.connectionStringKey, azureStorageDestination.connectionStringKey)
&& Objects.equals(this.containerName, azureStorageDestination.containerName)
&& Objects.equals(this.id, azureStorageDestination.id)
Expand All @@ -300,6 +332,7 @@ public int hashCode() {
return Objects.hash(
blobPrefix,
buffer,
compression,
connectionStringKey,
containerName,
id,
Expand All @@ -314,6 +347,7 @@ public String toString() {
sb.append("class AzureStorageDestination {\n");
sb.append(" blobPrefix: ").append(toIndentedString(blobPrefix)).append("\n");
sb.append(" buffer: ").append(toIndentedString(buffer)).append("\n");
sb.append(" compression: ").append(toIndentedString(compression)).append("\n");
sb.append(" connectionStringKey: ")
.append(toIndentedString(connectionStringKey))
.append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_AUTH,
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_BUCKET,
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_BUFFER,
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_COMPRESSION,
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_ID,
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_INPUTS,
ObservabilityPipelineAmazonS3Destination.JSON_PROPERTY_KEY_PREFIX,
Expand All @@ -52,6 +53,9 @@ public class ObservabilityPipelineAmazonS3Destination {
public static final String JSON_PROPERTY_BUFFER = "buffer";
private ObservabilityPipelineBufferOptions buffer;

public static final String JSON_PROPERTY_COMPRESSION = "compression";
private ObservabilityPipelineAmazonS3DestinationCompression compression;

public static final String JSON_PROPERTY_ID = "id";
private String id;

Expand Down Expand Up @@ -174,6 +178,33 @@ public void setBuffer(ObservabilityPipelineBufferOptions buffer) {
}
}

public ObservabilityPipelineAmazonS3Destination compression(
ObservabilityPipelineAmazonS3DestinationCompression compression) {
this.compression = compression;
this.unparsed |= compression.unparsed;
return this;
}

/**
* Compression configuration for archived logs. When omitted, logs are compressed with gzip for
* backward compatibility.
*
* @return compression
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COMPRESSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineAmazonS3DestinationCompression getCompression() {
return compression;
}

public void setCompression(ObservabilityPipelineAmazonS3DestinationCompression compression) {
this.compression = compression;
if (compression != null) {
this.unparsed |= compression.unparsed;
}
}

public ObservabilityPipelineAmazonS3Destination id(String id) {
this.id = id;
return this;
Expand Down Expand Up @@ -444,6 +475,7 @@ public boolean equals(Object o) {
return Objects.equals(this.auth, observabilityPipelineAmazonS3Destination.auth)
&& Objects.equals(this.bucket, observabilityPipelineAmazonS3Destination.bucket)
&& Objects.equals(this.buffer, observabilityPipelineAmazonS3Destination.buffer)
&& Objects.equals(this.compression, observabilityPipelineAmazonS3Destination.compression)
&& Objects.equals(this.id, observabilityPipelineAmazonS3Destination.id)
&& Objects.equals(this.inputs, observabilityPipelineAmazonS3Destination.inputs)
&& Objects.equals(this.keyPrefix, observabilityPipelineAmazonS3Destination.keyPrefix)
Expand All @@ -466,6 +498,7 @@ public int hashCode() {
auth,
bucket,
buffer,
compression,
id,
inputs,
keyPrefix,
Expand All @@ -485,6 +518,7 @@ public String toString() {
sb.append(" auth: ").append(toIndentedString(auth)).append("\n");
sb.append(" bucket: ").append(toIndentedString(bucket)).append("\n");
sb.append(" buffer: ").append(toIndentedString(buffer)).append("\n");
sb.append(" compression: ").append(toIndentedString(compression)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" inputs: ").append(toIndentedString(inputs)).append("\n");
sb.append(" keyPrefix: ").append(toIndentedString(keyPrefix)).append("\n");
Expand Down
Loading
Loading