Language

KustomizationPatch Class

Definition

The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster.

public class KustomizationPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.KubernetesConfiguration.FluxConfigurations.Models.KustomizationPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.KubernetesConfiguration.FluxConfigurations.Models.KustomizationPatch>
type KustomizationPatch = class
    interface IJsonModel<KustomizationPatch>
    interface IPersistableModel<KustomizationPatch>
Public Class KustomizationPatch
Implements IJsonModel(Of KustomizationPatch), IPersistableModel(Of KustomizationPatch)
Inheritance
KustomizationPatch
Implements

Constructors

Name Description
KustomizationPatch()

Initializes a new instance of KustomizationPatch.

Properties

Name Description
DependsOn

Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies have completed their reconciliation.

IsForce

Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change.

IsPrune

Enable/disable garbage collections of Kubernetes objects created by this Kustomization.

IsWait

Enable/disable health check for all Kubernetes objects created by this Kustomization.

Path

The path in the source reference to reconcile on the cluster.

PostBuild

Used for variable substitution for this Kustomization after kustomize build.

RetryIntervalInSeconds

The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation.

SyncIntervalInSeconds

The interval at which to re-reconcile the Kustomization on the cluster.

TimeoutInSeconds

The maximum time to attempt to reconcile the Kustomization on the cluster.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<KustomizationPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<KustomizationPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<KustomizationPatch>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<KustomizationPatch>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<KustomizationPatch>.Write(ModelReaderWriterOptions)

Applies to