diff --git a/src/KubernetesClient.csproj b/src/KubernetesClient.csproj
index 56e97d5b0..b8acb25c6 100644
--- a/src/KubernetesClient.csproj
+++ b/src/KubernetesClient.csproj
@@ -16,6 +16,7 @@
+
diff --git a/src/V1Patch.cs b/src/V1Patch.cs
new file mode 100644
index 000000000..d4eb7dca5
--- /dev/null
+++ b/src/V1Patch.cs
@@ -0,0 +1,55 @@
+using System;
+using Microsoft.AspNetCore.JsonPatch;
+using Newtonsoft.Json;
+
+namespace k8s.Models
+{
+ internal class V1PathJsonConverter : JsonConverter
+ {
+ public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
+ {
+ serializer.Serialize(writer, (value as V1Patch)?.Content);
+ }
+
+ // no read patch object supported at the moment
+ public override object ReadJson(JsonReader reader, Type objectType, object existingValue,
+ JsonSerializer serializer)
+ {
+ throw new NotImplementedException();
+ }
+
+ public override bool CanConvert(Type objectType)
+ {
+ return objectType == typeof(V1Patch);
+ }
+ }
+
+ [JsonConverter(typeof(V1PathJsonConverter))]
+ public partial class V1Patch
+ {
+
+ public enum PathType
+ {
+ JsonPatch,
+ MergePatch,
+ StrategicMergePatch,
+ }
+
+ public PathType Type { get; private set; }
+
+ public V1Patch(IJsonPatchDocument jsonPatch) : this((object) jsonPatch)
+ {
+ }
+
+ partial void CustomInit()
+ {
+ if (Content is IJsonPatchDocument)
+ {
+ Type = PathType.JsonPatch;
+ return;
+ }
+
+ throw new NotSupportedException();
+ }
+ }
+}
diff --git a/src/generated/IKubernetes.cs b/src/generated/IKubernetes.cs
index bd509cf7c..2cc9aecb2 100644
--- a/src/generated/IKubernetes.cs
+++ b/src/generated/IKubernetes.cs
@@ -908,7 +908,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedConfigMapWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedConfigMapWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Endpoints
@@ -1211,7 +1211,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedEndpointsWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedEndpointsWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Event
@@ -1514,7 +1514,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedEventWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedEventWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind LimitRange
@@ -1817,7 +1817,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedLimitRangeWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedLimitRangeWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind PersistentVolumeClaim
@@ -2120,7 +2120,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedPersistentVolumeClaimWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedPersistentVolumeClaimWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified PersistentVolumeClaim
@@ -2184,7 +2184,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedPersistentVolumeClaimStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedPersistentVolumeClaimStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Pod
@@ -2487,7 +2487,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedPodWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedPodWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// connect GET requests to attach of Pod
@@ -3105,7 +3105,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedPodStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedPodStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind PodTemplate
@@ -3408,7 +3408,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedPodTemplateWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedPodTemplateWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind ReplicationController
@@ -3711,7 +3711,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedReplicationControllerWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedReplicationControllerWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read scale of the specified ReplicationController
@@ -3775,7 +3775,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedReplicationControllerScaleWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedReplicationControllerScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified ReplicationController
@@ -3839,7 +3839,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedReplicationControllerStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedReplicationControllerStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind ResourceQuota
@@ -4142,7 +4142,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedResourceQuotaWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedResourceQuotaWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified ResourceQuota
@@ -4206,7 +4206,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedResourceQuotaStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedResourceQuotaStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Secret
@@ -4509,7 +4509,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedSecretWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedSecretWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind ServiceAccount
@@ -4812,7 +4812,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedServiceAccountWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedServiceAccountWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Service
@@ -5008,7 +5008,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedServiceWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedServiceWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// connect GET requests to proxy of Service
@@ -5378,7 +5378,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedServiceStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedServiceStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read the specified Namespace
@@ -5480,7 +5480,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespaceWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespaceWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// replace finalize of the specified Namespace
@@ -5554,7 +5554,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespaceStatusWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespaceStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Node
@@ -5836,7 +5836,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNodeWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNodeWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// connect GET requests to proxy of Node
@@ -6113,7 +6113,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNodeStatusWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNodeStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind PersistentVolumeClaim
@@ -6477,7 +6477,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchPersistentVolumeWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchPersistentVolumeWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified PersistentVolume
@@ -6532,7 +6532,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchPersistentVolumeStatusWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchPersistentVolumeStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Pod
@@ -8051,7 +8051,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchExternalAdmissionHookConfigurationWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchExternalAdmissionHookConfigurationWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind InitializerConfiguration
@@ -8333,7 +8333,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchInitializerConfigurationWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchInitializerConfigurationWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// get information of a group
@@ -8637,7 +8637,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchCustomResourceDefinitionWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchCustomResourceDefinitionWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// replace status of the specified CustomResourceDefinition
@@ -8960,7 +8960,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchAPIServiceWithHttpMessagesAsync(object body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchAPIServiceWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// replace status of the specified APIService
@@ -9468,7 +9468,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedControllerRevisionWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedControllerRevisionWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Deployment
@@ -9771,7 +9771,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDeploymentWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDeploymentWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// create rollback of a Deployment
@@ -9857,7 +9857,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDeploymentScaleWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDeploymentScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified Deployment
@@ -9921,7 +9921,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDeploymentStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDeploymentStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind StatefulSet
@@ -10224,7 +10224,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedStatefulSetWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedStatefulSetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read scale of the specified StatefulSet
@@ -10288,7 +10288,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedStatefulSetScaleWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedStatefulSetScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified StatefulSet
@@ -10352,7 +10352,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedStatefulSetStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedStatefulSetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind StatefulSet
@@ -10994,7 +10994,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedControllerRevision1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedControllerRevision1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind DaemonSet
@@ -11297,7 +11297,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDaemonSetWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDaemonSetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified DaemonSet
@@ -11361,7 +11361,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDaemonSetStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDaemonSetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind Deployment
@@ -11664,7 +11664,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDeployment1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDeployment1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read scale of the specified Deployment
@@ -11728,7 +11728,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDeploymentScale1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDeploymentScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified Deployment
@@ -11792,7 +11792,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedDeploymentStatus1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedDeploymentStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind ReplicaSet
@@ -12095,7 +12095,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedReplicaSetWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedReplicaSetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read scale of the specified ReplicaSet
@@ -12159,7 +12159,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedReplicaSetScaleWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedReplicaSetScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified ReplicaSet
@@ -12223,7 +12223,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedReplicaSetStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedReplicaSetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind StatefulSet
@@ -12526,7 +12526,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedStatefulSet1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedStatefulSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read scale of the specified StatefulSet
@@ -12590,7 +12590,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedStatefulSetScale1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedStatefulSetScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified StatefulSet
@@ -12654,7 +12654,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedStatefulSetStatus1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedStatefulSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// list or watch objects of kind ReplicaSet
@@ -13457,7 +13457,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified HorizontalPodAutoscaler
@@ -13521,7 +13521,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// get available resources
@@ -13917,7 +13917,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// read status of the specified HorizontalPodAutoscaler
@@ -13981,7 +13981,7 @@ public partial interface IKubernetes : System.IDisposable
///
/// The cancellation token.
///
- Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(object body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary