Class SippyConfig
- Namespace
- Cloudflare.NET.Accounts.Models
- Assembly
- Cloudflare.NET.dll
Represents the current Sippy configuration for a bucket.
public record SippyConfig : IEquatable<SippyConfig>
- Inheritance
-
SippyConfig
- Implements
- Inherited Members
Constructors
SippyConfig(bool, SippySourceInfo?, SippyDestination?)
Represents the current Sippy configuration for a bucket.
public SippyConfig(bool Enabled, SippySourceInfo? Source = null, SippyDestination? Destination = null)
Parameters
EnabledboolWhether Sippy is currently enabled for the bucket.
SourceSippySourceInfoThe source bucket configuration (AWS S3 or GCS). Null when disabled.
DestinationSippyDestinationThe destination R2 bucket configuration. Null when disabled.
Properties
Destination
The destination R2 bucket configuration. Null when disabled.
[JsonPropertyName("destination")]
public SippyDestination? Destination { get; init; }
Property Value
Enabled
Whether Sippy is currently enabled for the bucket.
[JsonPropertyName("enabled")]
public bool Enabled { get; init; }
Property Value
Source
The source bucket configuration (AWS S3 or GCS). Null when disabled.
[JsonPropertyName("source")]
public SippySourceInfo? Source { get; init; }